use redux hooks to call lambda function code example Example: useDispatch() useDispatch({ type: '', playload });