Skip to content

Variable: CONTEXT_STATE_KEY

API / @xmachines/play-actor / CONTEXT_STATE_KEY

const CONTEXT_STATE_KEY: "context" = "context";

Defined in: packages/play-actor/src/context-projection.ts:32

The reserved top-level state key of the projection.

The spec.state object of a view must not declare this key. When it does, the derivation skips the projection for that view, the authored state wins, and the code writes a warning in development. See composePlayState.