Skip to content

Interface: MountOptions

API / @xmachines/play-dom / MountOptions

Defined in: packages/play-dom/src/create-play-ui.ts:48

Per-mount options passed to the MountFn returned by createPlayUI.

These override or supplement the factory-level options on a per-actor/container basis. Factory-level options (functions, validationFunctions, navigate, onRenderError, fallback) are set once when calling createPlayUI.

Properties

PropertyTypeDescriptionDefined in
loading?booleanWhen true, suppresses missing-child warnings during streaming spec ingestion and exposes ctx.ctx.loading to component implementations.packages/play-dom/src/create-play-ui.ts:59
store?StateStoreOptional external StateStore (controlled mode). When omitted, a fresh @xstate/store atom is created per view transition seeded from spec.state.packages/play-dom/src/create-play-ui.ts:54