mobx 0.0.19 
mobx: ^0.0.19 copied to clipboard
MobX is a library for reactively managing the state of your applications. Use the power of observables, actions, and reactions to supercharge your Dart and Flutter apps.
mobx.dart #
[]
MobX for the Dart language.
Supercharge the state-management in your Dart apps with Transparent Functional Reactive Programming (TFRP)
Building blocks #
Observables #
- ✅ Create 
Observable<T>viaObservable<T>() - ✅ Create 
ObservableList<T>- ❌ 
observeandintercept - ❌ 
onBecomeObservedandonBecomeUnobserved 
 - ❌ 
 - ❌ Create 
ObservableMap<K, T> - ✅ Atoms with 
Atom() 
Computed Observables #
- ✅ Create 
Computed<T>viaComputed<T>() - ✅ 2-phase change propagation
 
Reactions #
- ✅ Create 
Reactionwithautorun()- ✅ with 
delay 
 - ✅ with 
 - ✅ Create 
Reactionwithreaction()- ✅ with 
delay - ✅ with 
fireImmediately 
 - ✅ with 
 - ✅ Create 
Reactionwithwhen()- ✅ 
whenwith timeout - ✅ 
when()returningFuture<T> 
 - ✅ 
 
Actions #
- ✅ Create 
ActionwithAction() - ✅ Execute within 
runInAction - ✅ Create untracked-action with 
untracked<T>() - ✅ Create transaction with 
transaction<T>() 
Cross cutting features #
- ✅ Observability API for 
ObservableandComputed- ✅ 
observe - ✅ 
intercept - ✅ 
onBecomeObserved - ✅ 
onBecomeUnobserved 
 - ✅ 
 - ❌ Spying and Tracing
 - ✅ Exception handling and Error recovery
- ✅ 
onReactionErroron the context for catching global errors - ✅ 
onErrorhandler for reactions - ✅ 
disableErrorBoundariesoption for the reactive context 
 - ✅ 
 - ❌ Debuggability
 
Public facing #
- ✅ Logo
 - ❌ Documentation
 - ❌ Website (published on github.io)
 



