You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* ============Hooks based bound action creator related type definitions=========================
6
-
*/
7
-
8
5
/**
9
6
* Custom hooks to create an object containing named action creators with dispatch bound automatically using redux hooks.
10
7
* Object is memoized so won't get created each time you use this custom hooks.
11
8
* Version 3.0.0 - switch to bindActionCreators instead of our own implementation and remove memoization.
9
+
* Version 3.0.1 - add back memoization. Most apps will use this in useEffect and memoization can help with avoid unwanted rerendering if this is in the dependency tree.
12
10
* @template M type of the object contains named action creators (plain action creator or thunk action creator)
13
11
* @param map the object contains named action creators.
0 commit comments