4 ms·
As someone who has worked daily with React (and Django) for more than 5 years, I am always surprised to see how many boilerplates and tutorials include redux.
by MoSattler 6y ago
As someone who has worked daily with React (and Django) for more than 5 years, I am always surprised to see how many boilerplates and tutorials include redux.
It’s a tool that solves very specific issues that most people won’t have and often adds quite a bit of complexity.
- djstein 6y agoI would also agree with this. These days we should be steering people to context api and react-query
- pplonski86 6y agoI like the way redux divide the code into actions and reducer. In my opinion the application code is clear with redux. Off the topic, I mainly write in Python. I started programming in C/C++. I very often miss header files from C/C++ during Python programming. In C++ header files you have the full interface definition and it was easy to understand the code. Somehow, the redux and C header files are for me similar (in the sense of clear code).
- djstein 6y agoI was definitely had the same feeling when writing redux! The separate of actions, types, and reducers is quite nice. You can still replicate these ideas with the Context API if you choose too.
- 4778468d 6y agoRedux is really not needed any more and just makes things horribly complex.