React Native with MobX — Getting Started

Nader Dabit
React Native Training
5 min readJul 1, 2016

--

Here, we will combine MobX and React Native to create a simple list app. If you’re looking to see how to get started with MobX and React Native, this should be a good place to do so.

Looking to learn React Native? Check out React Native Training.

To view the final repo, click here.

MobX is a very intuitive state management library that has been very easy for me to grasp and get up and running. I’ve used Flux, Alt, Redux, and Reflux in developing React and React Native apps, and I can say without a doubt that MobX has quickly become my favorite way to manage state because of it’s simplicity. I look forward to using it in future projects and seeing where the project goes from here.

This app will have two main components, one that will allow us to create new lists and one that will allow us to add new items to our list.

To get started, we first need to create a new React Native application:

react-native init ReactNativeMobX

Next, we’ll go ahead and change into the new directory we created and install the dependencies we will need: mobx and mobx-react

--

--

Nader Dabit
React Native Training

Full Stack Product Engineer, Author, Teacher, Director of Developer Relations at Avara