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

outdated

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 #

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. It comes with a set of building blocks such as observables, actions, and reactions. Observables carry the reactive state; Reactions observe the observable state and cause side-effects in the application; Actions are used to cause mutations on the observable-state. MobX also determines the dependencies of a Reaction automatically with no explicit wiring. This makes it a library that advocates Transparent Functional Reactive Programming (TFRP). It can be used in Dart and Flutter apps to manage the client-side state of the application.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on mobx