Skip to content

Variable: ActorProvider

API / @xmachines/play-solid / ActorProvider

const ActorProvider: Component<ActorProviderProps>;

Defined in: packages/play-solid/src/ActorProvider.tsx:153

Smart ActorProvider component — owns actor bridging, signal subscription, StateStore lifecycle, handler resolution, and error boundary.

Per D-11: Replaces the old raw alias ActorProvider = ActorContext.Provider. Consumers who previously used <ActorProvider value={actor}> should now use <ActorContext.Provider value={actor}> for raw provider access, or migrate to this smart component / PlayUIProvider.

Example

import { ActorProvider, PlayRenderer } from "@xmachines/play-solid";
<ActorProvider actor={myActor} registryResult={registryResult}>
<PlayRenderer />
</ActorProvider>;