mobx 0.0.10 mobx: ^0.0.10 copied to clipboard
MobX is a library for reactively managing the state of your applications. It comes with a set of building blocks such as observables, actions, and reactions. Observables carry the reactive state; Reac [...]
mobx #
MobX for the Dart language.
Supercharge the state-management in your Dart apps with Transparent Functional Reactive Programming (TFRP)
Building blocks #
Observables #
- Create
ObservableValue<T>
viaobservable<T>()
- Create
ObservableList<T>
- Create
ObservableMap<K, T>
Computed Observables #
- Create
ComputedValue<T>
viacomputed<T>()
- 2-phase change propagation
Reactions #
- Create
Reaction
withautorun()
- with
delay
- with
- Create
Reaction
withreaction()
- with
delay
- with
fireImmediately
- with
- Create
Reaction
withwhen()
- Create
Reaction
withwhen()
returningFuture<T>
Actions #
- Create
Action
withaction()
- Create untracked-action with
untracked<T>()
- Create transaction with
transaction<T>()
Cross cutting features #
- Observability API for
ObservableValue
andComputedValue
observe
intercept
onBecomeObserved
onBecomeUnobserved
- Spying and Tracing
- Exception handling and Error recovery
- Debuggability
Public facing #
- Logo
- Documentation
- Website (published on github.io)