@subjected/core
v0.2.3
Published
Subjected library core API
Downloads
10
Readme
@subjected/core
This package contains the core implementation of the Subjected library.
The core includes:
- StateContainer which manage a consolidated state entity, providing a minimal API to make changes to this state, subscribe to changes, and respond to state lifecycle events via Extensions.
- Selectors which allow you to subscribe to "substates" of a state container, this is the key entity which enables efficient rendering of component trees.
- Computed selectors which let you aggregate state containers, selectors, and even other computed selectors together into a single value.
- EffectRunner which is the base entity that resolves side effects for a state container while it is resolving a state change action.
- Action Resolver resolution, the main implementation for how state changes can be composed together using generator functions.