Check out why I think you should use MobX with React Native as your state management library for your next project. A quick introduction and getting started guide!
MobX is a great state management library that hasn't got enough attention, in my video I go over:
- What MobX is
- How to install MobX for React Native
- Observers and Observables
- Computes and Actions
- Setting up a store Provider
Top comments (3)
Thanks for this, but in 2020 i think no one should keep using class based components. So It could be great to make a new video about using mobx-react with hooks.
It depends on the use cases, mobx actually has smarts around using the provider with injected stores and observers, but if you want something more simple, there is a separate library of mobx called mobx-react-lite
Class components aren't going anywhere.