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.

Sizin İçin Seçtik  How can I make my own ERC20 token for free?

Leave a Reply

Your email address will not be published. Required fields are marked *