2 ms·
Also worth noting that the Redux docs _specifically_ have a section called "Reducing Boilerplate" [0] that shows how to write functions like this, and my Redux
by acemarke 9y ago
Also worth noting that the Redux docs _specifically_ have a section called "Reducing Boilerplate" [0] that shows how to write functions like this, and my Redux addons catalog [1] lists dozens of such libraries already.
As I've said many times: it's entirely up to you how much abstraction you want to apply on top of Redux.
[0] http://redux.js.org/docs/recipes/ReducingBoilerplate.html http://redux.js.org/docs/recipes/ReducingBoilerplate.html
[1] https://github.com/markerikson/redux-ecosystem-links https://github.com/markerikson/redux-ecosystem-links