How does MobX state tree work?

The tree consists of mutable, but strictly protected objects enriched with run-time type information . In other words; each tree has a shape (type information) and state (data). From this living tree, immutable and structurally shared snapshots are generated automatically.

Read more

Does MobX need state tree?

Ten reasons you should use MobX-State-Tree: Your data is mutable, but can only be mutated in “actions”, so it’s easy to use but also protected. Via runtime type checking, you can’t accidentally assign the wrong data type to a property. TypeScript can infer static types from your runtime types automatically.

Read more