What is 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.

Sizin İçin Seçtik  Is MobX deprecated?

Leave a Reply

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