Function useAppDispatch

  • Custom hook to dispatch Redux actions. This is a typed version of the useDispatch hook from 'react-redux'. Use this custom hook throughout your app instead of the plain useDispatch for type safety.

    Returns ThunkDispatch<Object, undefined, AnyAction> & Dispatch<AnyAction>

    The dispatch function from your Redux store.

Generated using TypeDoc