Members
(static, constant) mergeState
Merge new component state into actual component state in the store
curried function
- Source:
(static, constant) removeState
Remove component state from the store
curried function
- Source:
Methods
(static) addState(componentName, key, initialComponentState)
add a new component state with optional initialComponentState to the store
Parameters:
Name | Type | Description |
---|---|---|
componentName |
string | : name of the component |
key |
string | : identifier of state used by this component |
initialComponentState |
object | : initial state of the component if required |
- Source: