Skip to content

Interface: DefineRegistryResult

API / @xmachines/play-solid / DefineRegistryResult

Defined in: @json-render/solid

Result returned by defineRegistry

Properties

PropertyTypeDescriptionDefined in
executeAction(actionName, params, setState, state?) => Promise<void>Execute an action by name imperatively (for use outside the Solid tree, e.g. initial state loading).-
handlers(getSetState, getState) => Record<string, (params) => Promise<void>>Create ActionProvider-compatible handlers. Accepts getter functions so handlers always read the latest state/setState (e.g. from refs or closures).-
registryComponentRegistryComponent registry for <Renderer registry={...} />-