The future of Redux
Redux has changed a lot in the last 2 years, since a new package appeared in its scope, called Redux Toolkit, that basically tries to solve the same problems that Rematch solved a while ago:
- Configuring the Redux store when using non-standard scenarios is complicated.
- Creating complex applications that handle side-effects requires installing too many packages that are not official or officially supported by the Redux team.
- Redux needs too much boilerplate code.
Redux Toolkit is intended to be the standard way to write Redux logic creation. Since it was heavily inspired by solutions such as Rematch, it aims to create an official solution for the problem of maintainability we spoke about in this book.
Should we use Redux Toolkit instead of Rematch? Probably, or maybe not. You're free to use whatever you want; you should always choose whatever fits your requirements.
Redux Toolkit is an official solution with more visibility and contributors...