3 ms·
Thanks for sharing those functions. Definitely cuts down on a lot of the boilerplate I see with Redux.
by nathancahill 9y ago
Thanks for sharing those functions. Definitely cuts down on a lot of the boilerplate I see with Redux.
- acemarke 9y agoAlso 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