Create a new React app We can use cd mobx-react to go into the folder . Now, inside of the src folder, we can create a folder for our components, create a PetList component inside the folder, and open the file in your favorite editor.
Read moreCan you use Hooks with MobX?
Hooks to the rescue. React Hooks are most likely the easiest way to consume MobX store . They give you a freedom in how to do things instead of heavily opinionated inject .
Read moreDoes MobX work with functional components?
In this tutorial, we will learn how to use MobX with React Functional Components . MobX being a very useful state management library reduces the code that needs to be written for global state management. Mobx is easy to use and quick to learn.
Read moreWhat is MobX React Lite?
Mobx-react-lite is a lightweight binding to glue Mobx stores and functional React components .
Read more