|
|
|
|
|
by Zyst
3208 days ago
|
|
Writing this from my phone so I cannot be as verbose as I want to be. I can not speak for every case, so I will talk about why I sometimes use it in React: First off, there is a synergistic effect where React handles data coming from above in the hierarchy, which Redux facilitates. Secondly, it can be very hard to keep track of what components are handling what logic in large applications so having it abstracted away in an easy to test way is considered a win for many. That is the good overview I feel, there's also that popular Dan Abramov medium post[0] that deals with it. I do believe redux is overused, and people would benefit from weighing whether simple react is good enough for a project, buy I understand the risk you feel you take on if the scope runs away and suddenly you need to do a costly migration to redux later on in the project where it can be a lot harder to do so. [0] https://medium.com/@dan_abramov/you-might-not-need-redux-be4... |
|