Snapshots are the immutable serialization, in plain objects, of a tree at a specific point in time . Snapshots can be inspected through getSnapshot(node, applyPostProcess) . Snapshots don’t contain any type information and are stripped from all actions, etc., so they are perfectly suitable for transportation.
Read moreWhat 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