call action function from redux in react hooks code example Example: useDispatch() useDispatch({ type: '', playload });