Notes

The case for Redux

Edit on GitHub

Redux

Why Redux? In no particular order

  1. Redux has DevTools
  2. Redux has react-native-debugger for React Native
  3. Redux has been around since 2015, has been stable, and is battle tested for heavy state
  4. Redux is probably used in all legacy applications (i.e. anything before 2018..) and you’ll probably have to maintain that code
  5. Redux is not just React. It works in other places too, like Angular..

Why not?

  • Very verbose
  • With React Suspense and useReducer you can get the middleware functionality like making API calls and the actions and dispatch() inside React by default
  • You can get DevTools for React’s built-in state in a (hacky workaround) way