+ 1

React Redux Or Context Api

i work with React and use Redux state managment you think which one is beter context or redux

7th Dec 2019, 4:03 PM
Mostafa
Mostafa - avatar
1 Respuesta
+ 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.
8th Dec 2019, 6:13 AM
Calviղ
Calviղ - avatar