w_flux_server library
This provides the same functionality as the w_flux library, but without a dependency on dart:html. This allows it to be used on the server.
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.
-
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)