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
- Memoize single or multiple action dispatch functions
40
40
- Quick access to store dispatch
41
41
- Full Typescript support
42
+
- Works without `react-redux`
42
43
43
44
44
45
## Prerequisites
@@ -112,6 +113,29 @@ export default function Component() {
112
113
}
113
114
```
114
115
116
+
### `useActions(actionsMap)`
117
+
118
+
Wraps a map of actions in a dispatcher and memoizes each one with `useCallback`. Returns the same map with each key containing its paired action dispatcher.
0 commit comments