mobx 0.0.4 copy "mobx: ^0.0.4" to clipboard
mobx: ^0.0.4 copied to clipboard

outdated

Reactive State Management for Dart apps.

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> via observable<T>()
  • Create ObservableList<T>
  • Create ObservableMap<K, T>

Computed Observables #

  • Create ComputedValue<T> via computed<T>()
  • 2-phase change propagation

Reactions #

  • Create Reaction with autorun()
    • with delay
  • Create Reaction with reaction()
    • with delay
    • with fireImmediately
  • Create Reaction with when()
  • Create Reaction with when() returning Future<T>

Actions #

  • Create Action with action()
  • Create untracked-action with untracked<T>()
  • Create transaction with transaction<T>()

Cross cutting features #

  • Observability API
  • Spying and Tracing
  • Exception handling and Error recovery

Public facing #

  • Logo
  • Documentation
  • Website (published on github.io)