react redux useselector example with usedispatch Example: useDispatch() useDispatch({ type: '', playload });