useDispatch API
These docs are auto-generated from typings files (
*.d.ts
).
useDispatch
A simple hook that returns dispatch
. Use dispatch
to dispatch requests from fetch instances.
function useDispatch(): (fetch: FetchAction) => Promise;