functional components react redux code example Example: useDispatch() useDispatch({ type: '', playload });