Interface: Viewable
Documentation / @xmachines/play-actor / Viewable
Defined in: packages/play-actor/src/abstract-actor.ts:94
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
catalog | readonly | Record<string, unknown> | Component catalog for view resolution Maps component names to actual component implementations. Used by renderers to resolve view.component to actual UI components. | packages/play-actor/src/abstract-actor.ts:119 |
currentView | readonly | State<ViewMetadata | null> | Current view signal State signal containing UI structure schema from meta.view. Infrastructure renders view. Invariant: Logic-Driven UI - View structure is defined by business logic, not JSX. Example const watcher = new Signal.subtle.Watcher(() => { const view = actor.currentView.get(); console.log('View changed:', view); }); watcher.watch(actor.currentView); | packages/play-actor/src/abstract-actor.ts:111 |