AbstractReducerBuilder returns a reducer builder that
rebuilds an abstract, or mixed in, piece of state. For most cases
AbstractReducerBuilder is not recommended. When defining your state
model favor composition over inheritance. However, this may be
useful when trying to share functionaity between two separate redux stores.
Action is the object passed to your reducer to signify the state change that needs to take place.
Action names should always be unique. Uniqeness is guarenteed when using ReduxActions.
ActionDispatcher dispatches an action with the name provided
to the constructor and the payload supplied when called. You will notice
ActionDispatcher is an object, however it is to be used like a function.
In the following example increment is an action dispatcher, that when called
dispatches an action to the redux store with the name increment and the payload 3.
ActionName is an object that simply contains the action name but is typed with a generic that
is the same as the relative ActionDispatchers payload generic. This allows you to declare reducer
handlers with safety without having to instantiate your instance of ReduxActions.
MiddlewareBuilder allows you to build a reducer that handles many different actions
with many different payload types, while maintaining type safety.
Each MiddlewareHandler added with add
NestedReducerBuilder allows you to build a reducer that rebuilds built values
nested within your main app state model. For example, consider the following built value
ReducerBuilder allows you to build a reducer that handles many different actions
with many different payload types, while maintaining type safety.
Each Reducer added with add
StoreChangeHandlerBuilder allows you to listen to the Store and perform handlers for a given
set of actions with many different payload types, while maintaining type safety.
Each StoreChangeHandler added with add
SubstateChange is the payload for StateChangeTransformer's stream. It contains
the previous and next value of the state resulting from the mapper provided to StateChangeTransformer
This is the Reducer typedef without the Built/Builder constraints
Used for built_collections since they do not implement Built/Builder
but follow the same pattern.