The State Management in this application is a self-brew solution providing a state object whose properties can be accessed and modified using signals or supplied methods.
The state is build by a StateBuilder
class that combines all state slices into a single state object.
This folder contains functions to create signals that persist state. Available are:
This folder contains the state slices that supply parts of the global state object.
The GLOBAL_STATE
injection key that combines all state slices into a single state object.
All artifacts using state management should inject this token to access and modify the state via its signals.
The StateBuilder
class is used to construct the state object from the state slices.
To extend the state, add a new signal to one of the state slices or create a new slice and register it in the global state.