In this episode of the React Native Show, Łukasz Chludziński (https://twitter.com/loginlukasza) and Ola Desmurs-Linczewska (https://twitter.com/p_syche_) discuss state management in React Native apps. As there’s no magical formula for handling it, don’t expect straightforward direction or easy answers from this episode. Instead, get ready for:
- an overview of state management in React Native & React apps
- a deep-dive into state management libraries based on different philosophies, including Redux, MobX, XState, Jotai, and React Query
- an insight into how Ola compared these libraries when writing “Simplifying State Management in React Native”
- a few words of the book-writing process as seen by Ola
You can find Ola’s book on Amazon (https://www.amazon.com/Simplifying-State-Management-React-Native/dp/1803235039) and GitHub (https://github.com/PacktPublishing/Simplifying-State-Management-in-React-Native).
New state management libraries keep appearing, so choosing the one that best suits your project and taste may be challenging. We hope to help you make this decision and get a broader perspective on state management in React Native by having Ola and Łukasz discuss the following aspects of a few libraries:
- the people behind them
- the category they belong, e.g. flux vs. proxy vs. atom, mutable vs. immutable, battle-tested vs. experimental
- how they work and what it means to the developer
Resources that Ola and Łukasz mentioned in this episode:
➡️ Dan Abramov’s Fundamentals of Redux Course https://egghead.io/courses/fundamentals-of-redux-course-from-dan-abramov-bd5cc867
➡️ Michel Weststrate’s courses on Mobx https://egghead.io/courses/manage-complex-state-in-react-apps-with-mobx, https://egghead.io/courses/manage-application-state-with-mobx-state-tree
➡️ State explosion https://statecharts.dev/state-machine-state-explosion.html
➡️ Daishi Kato’s course on Mobx https://egghead.io/courses/manage-application-state-with-jotai-atoms-2c3a29f0
➡️ Dominik Dorfmeister’s blog about React Query https://tkdodo.eu/blog/practical-react-query
Enjoy the episode, and don’t forget to subscribe to our channel for more content like this!
How about boosting performance of your React Native app with the help of our ultimate guide?
If you feel like learning more about state management with Redux, check out our training:
Need help with your React Native project? Give us a shout!
Check out other episodes of our podcast:
Do you want to work with us? We’re looking for Senior React Native developers! Check out the details and apply here:
Follow us on Twitter to stay up to date with upcoming episodes: