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

outdated

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 #

pub package Build Status Coverage Status

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 for ObservableValue and ComputedValue
    • observe
    • intercept
    • onBecomeObserved
    • onBecomeUnobserved
  • Spying and Tracing
  • Exception handling and Error recovery
  • Debuggability

Public facing #

  • Logo
  • Documentation
  • Website (published on github.io)
1191
likes
0
pub points
99%
popularity

Publisher

verified publisherdart.pixelingene.com

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.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on mobx