Skip to content

Interface: ViewContextValue

API / @xmachines/play-svelte / ViewContextValue

Defined in: packages/play-svelte/src/actor-context.svelte.ts:47

Framework-agnostic base for every framework’s ViewContextValue.

Holds the three fields that are identical across React, Vue, Solid, and Svelte. registry is framework-specific (each framework has its own ComponentRegistry type) so it is typed via TRegistry — the same generic used in BaseActorProviderProps.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
handlersRecord<string, ActionHandler>Action handlers resolved against the live StateStore.BaseViewContextValue.handlerspackages/play-actor/src/abstract-actor.ts:122
registryComponentRegistryComponent registry from registryResult.registry.BaseViewContextValue.registrypackages/play-actor/src/abstract-actor.ts:124
specPlaySpecThe current PlaySpec to render.BaseViewContextValue.specpackages/play-actor/src/abstract-actor.ts:120
storeStateStoreThe active StateStore — pass to JSONUIProvider/JsonUIProvider as store to share state across providers.BaseViewContextValue.storepackages/play-actor/src/abstract-actor.ts:126