Constructor
new StateFactory(handlerFactoryClass)
Parameters:
| Name | Type | Description |
|---|---|---|
handlerFactoryClass |
- Source:
Classes
Members
handlerFactoryClass
- Source:
Methods
create(initialStateopt, optionsopt) → {Proxy}
Creates a reactive proxy for the given initial state.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
initialState |
Object |
<optional> |
{} | The initial state object. |
options |
Object |
<optional> |
{} | Configuration options for the proxy handler. |
- Source:
Returns:
The reactive state proxy.
- Type
- Proxy