3 ms·
> Redux requires tons of boilerplate Not _required_. There's both "inherent" and "incidental" complexity around Redux [0]. We've created our new Redux Toolki
by acemarke 7y ago
> Redux requires tons of boilerplate
Not _required_. There's both "inherent" and "incidental" complexity around Redux [0]. We've created our new Redux Toolkit package [1] to specifically eliminate the "incidental" complexity and simplify common Redux usage patterns. It includes utilities to simplify several common Redux use cases, including store setup, defining reducers, immutable update logic, and even creating entire "slices" of state at once.
We also just released the official Redux template for Create-React-App [2] to help speed up the process of setting up a new app.
[0] https://blog.isquaredsoftware.com/2019/10/redux-starter-kit-1.0/#dealing-with-complexity https://blog.isquaredsoftware.com/2019/10/redux-starter-kit-...
[1] https://redux-toolkit.js.org https://redux-toolkit.js.org
[2] https://github.com/reduxjs/cra-template-redux/releases/tag/v1.0.0 https://github.com/reduxjs/cra-template-redux/releases/tag/v...