+ 1
React Redux Or Context Api
i work with React and use Redux state managment you think which one is beter context or redux
1 ответ
+ 2
For large and complex apps, redux is the better options, it helps debugging easier with redux devtools and time travel debugging features, and there are also a lot of middleware like action logger, helps inspection of all the state changes.
With context api, it's easier to write, however it also can create a lot of unnecessary state rerendering that would affect the app performance when it grows into more complex app.