packages/vx_store/lib/src/vxstate
library
Classes
-
VxInterceptor
-
Implementation of this class can be used to act before or after
a mutation execution.
-
VxMutation<T extends VxStore?>
-
An implementation of this class holds the logic for updating the VxStore.
-
VxState
-
The coordinating widget that keeps track of mutations
and the notify the same to the listening widgets.
-
VxStateModel
-
Tracks the listener widgets and notify them when
their corresponding mutation executes
-
VxStore
-
App's store should extend this class. An instance of this class is
given to VxState while initialization only once.
Enums
-
VxStatus
-
Status about the current state
Mixins
-
VxEffects<ON>
-
Secondary mutation executed based on the result of the first.
Similar to chaining actions in Redux. For example, an http request
will have a success or a fail side effect after request is complete.