What is a MobX action?

An action is any piece of code that modifies the state . In principle, actions always happen in response to an event. For example, a button was clicked, some input changed, a websocket message arrived, etc. MobX requires that you declare your actions, although makeAutoObservable can automate much of this job.

Read more

Who uses MobX state tree?

MobX is one of the most popular Redux alternatives and is used (along with MobX-State-Tree) by companies all over the world, including Netflix, Grow, IBM, DAZN, Baidu, and more . It supports a full set of features for a modern state management system — all in a package with zero dependencies other than MobX itself.

Read more

What are MobX reactions?

The MobX triad is completed when we add Reactions into the mix. Having reactions is what triggers the reactivity in the system. A reaction implicitly tracks all the observables which are being used and then re-executes its logic whenever the depending observables change .

Read more

What is a MobX store?

The primary purpose of MobX is to simplify the management of Reactive State in your application . As your application scales, the amount of state you manage will also increase. This requires some techniques to break down your application state and divvy it up across a set of stores.

Read more