how to use react hooks with store code example Example: useDispatch() useDispatch({ type: '', playload });