MCPcopy Create free account
hub / github.com/SuboptimalEng/coding-tutorials / useAppDispatch

Function useAppDispatch

_templates/01-basic/src/redux/hooks.ts:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4// Use throughout your app instead of plain `useDispatch` and `useSelector`
5export const useAppDispatch = () => useDispatch<AppDispatch>();
6export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;

Callers 1

AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected