w_flux library

The w_flux library implements a uni-directional data flow pattern comprised of Actions, Stores, and FluxComponents.

Classes

Action<T>
Like ActionV2, but payloads cannot be made non-nullable since the argument to call is optional.
ActionSubscription
A subscription used to cancel registered listeners to an ActionV2.
ActionV2<T>
A command that can be dispatched and listened to.
BatchedRedraws
A mixin that overrides the Component.redraw method of a React Component (including a FluxComponent) and prevents the component from being redrawn more than once per animation frame.
FluxComponent<ActionsT, StoresT>
FluxComponents are responsible for rendering application views and turning user interactions and events into Actions. FluxComponents can use data from one or many Store instances to define the resulting component.
Store
A Store is a repository and manager of app state. This class should be extended to fit the needs of your application and its data. The number and hierarchy of stores is dependent upon the state management needs of your application.

Typedefs

StoreHandler = dynamic Function(Store event)