We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19f6c8 commit 2ba9924Copy full SHA for 2ba9924
src/hooks/useDispatch.js
@@ -1,9 +1,7 @@
1
import { useStore } from './useStore'
2
3
/**
4
- * A hook to access the redux `dispatch` function. Note that in most cases where you
5
- * might want to use this hook it is recommended to use `useActions` instead to bind
6
- * action creators to the `dispatch` function.
+ * A hook to access the redux `dispatch` function.
7
*
8
* @returns {any|function} redux store's `dispatch` function
9
0 commit comments