
MobX Quick Start Guide
By :

MobX is very flexible in how you organize your state and apply the various actions and reactions. However, it does leave some questions for you to answer:
extendObservable()
?mobx-state-tree
is a package that gives you prescriptive guidance for organizing and structuring your observable state. Adopting the MST style of thinking gives you several benefits out of the box. In this section, we will explore this package and its benefits.
mobx-state-tree
as the name suggests, organizes the state in a tree of models. It's a model-first approach, where each model defines the state that needs to be captured. Defining the model adds the ability to type-check the model assignments at runtime and guard you against inadvertent changes. Combining the runtime checks with...