Function: createViewStoreLifecycle()
API / @xmachines/play-actor / createViewStoreLifecycle
function createViewStoreLifecycle(createStore): ViewStoreLifecycle;Defined in: packages/play-actor/src/view-store-lifecycle.ts:94
Creates a coordinator of the lifecycle.
Parameters
| Parameter | Type | Description |
|---|---|---|
createStore | (seed) => StateStore | The store factory of the framework. It receives the seed that is safe for the prototype (toAtomState(view.state)), and the composed state carries /context already. |