DEV Community

loading...

Discussion on: State Management in React: When to Use What

Collapse
singhshemona profile image
Shemona Singh Author

Oh I haven't heard of MobX! Thanks for the recommendation :) If you were to add it to the list, what kind of application do you think would be a good use case?

Collapse
stefan_stojanovic profile image
Stefan Stojanovic

Any application that needs Redux, would be a good MobX choice :D

So if your application is bound to have requests to a REST API backend which is more complex and you have that content in multiple components across the app, you can stash it in global state that you define with MobX/Redux

MobX has fine docs and easy to implement structure, I believe its a good replacment. Althoughh, Redux is definitely more popular 😄

Thread Thread
singhshemona profile image
Shemona Singh Author

Great to know - the “observables” concept seems neat. I’ll have to look into applying it one day!

Forem Open with the Forem app