setup redux with react hooks code example Example: useDispatch() useDispatch({ type: '', playload });