functional component API call with redux code example Example: useDispatch() useDispatch({ type: '', playload });