Summary
In this chapter, we covered the practical aspects of adopting MobX with packages such as mobx-utils and mobx-state-tree. These packages codify the community wisdom around using MobX for a variety of scenarios.
mobx-utils gives you a set of utilities for tackling asynchronous tasks, dealing with expensive updates, creating view models for transactional-editing, and much more.
mobx-state-tree is a comprehensive package that is meant to simplify application development with MobX. It takes a prescriptive approach to structuring and organizing the observable state in MobX. With such a declarative approach, MST is able to get a deeper understanding of the state-tree and offer a variety of features, such as runtime type-checking, snapshots, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access