What are MobX actions?

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

What is root store React?

Root store pattern is a simple pattern that the Mobx community started to use whenever there were multiple Mobx stores (which are just classes, or plain objects) that need to communicate with each other . This is accomplished by creating one class (or object) that will hold all other classes (or objects).30 Kas 2020

Read more