MobX
- Category
- Frameworks and libraries
- Docs outline
- 14 sections
Official docs outline
mobx.js.org- The gist of MobX
Observable state, derived values and reactions as the core model.
- Observable state
makeObservable, makeAutoObservable and observable annotations for objects, arrays, maps and sets.
- Actions
Modifying state in actions, batching, flows and strict mode.
- Computeds
Derived values with computed, caching and when computeds re-evaluate.
- Reactions: autorun, reaction and when
Side effects triggered by observable changes with autorun, reaction and when.
- Understanding reactivity
What MobX tracks, how dereferencing drives tracking and common pitfalls.
- React integration
observer components, observer hooks and using stores with React.
- React optimizations
Tips for granular rendering and avoiding unnecessary re-renders.
- Defining data stores
Structuring domain and UI stores, root store patterns and store composition.
- Subclassing
Rules and limitations for inheritance with MobX classes.
- Configuration
Global configuration such as enforceActions, useProxies and reaction scheduling.
- Analyzing reactivity and debugging
Tracing, spy, getDependencyTree and debugging reactive behavior.
- Collection utilities
Helpers like values, keys, set, remove and entries for observable collections.
- Migrating from MobX 4/5 to 6 and 6 to 7
Upgrade steps and breaking changes between major versions.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.