Skip to content

Interface: BaseViewContextValue<TRegistry>

API / @xmachines/play-actor / BaseViewContextValue

Defined in: packages/play-actor/src/abstract-actor.ts:118

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.

Extended by

Type Parameters

Type ParameterDescription
TRegistry extends objectThe framework’s component registry type (e.g. ComponentRegistry from @json-render/react).

Properties

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