Skip to content

Variable: ActorContext

API / @xmachines/play-solid / ActorContext

const ActorContext: Context<AnyPlayActor | null>;

Defined in: packages/play-solid/src/useActor.ts:38

The SolidJS context of the actor. This package exports it, so that a consumer can use ActorContext.Provider directly for a custom composition (see D-11). The ActorProvider component has the name “ActorProvider”, and it is the recommended entry point.