w_flux library

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

Classes

Action<T>
A command that can be dispatched and listened to. [...]
ActionSubscription
A subscription used to cancel registered listeners to an Action.
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(Store event) → dynamic