State management is a hard problem in software development. React’s
Context API can only take you so far with solving state management problems, but you’ll need a state management library when your application starts getting complex.
Popular state management solutions like Redux store state in a single global object, but they come with a lot of additional boilerplate. MobX, in contrast, is a relatively simple state management solution. In this tutorial, we’ll learn what MobX is, how it works, and how to start using it in combination with a React Native application.