Interface: ViewStoreResolution
API / @xmachines/play-actor / ViewStoreResolution
Defined in: packages/play-actor/src/view-store-lifecycle.ts:38
The result of a resolve — see ViewStoreLifecycle.resolve.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
guardedStore | StateStore | The store to give to the children ($bindState, setState, and a chained set): a write under /context throws. There is one wrapper for each store below it, and the code caches the identity. Therefore a consumer in the style of useSyncExternalStore stays stable. | packages/play-actor/src/view-store-lifecycle.ts:47 |
reseeded | boolean | It is true when this resolve made a new store: at the first resolve, on a change of the viewKey, in the fallback for each emission, and on a change of the actor. A provider that mounts a subtree again for each store, such as the storeKey of Vue, uses this field as its key. | packages/play-actor/src/view-store-lifecycle.ts:54 |
store | StateStore | The store WITHOUT the guard — the reference of the machinery for its own refresh. | packages/play-actor/src/view-store-lifecycle.ts:40 |