Core transitions and composition
A Core component is an immutable state machine:
text
State × Event → Result<next State × ordered Commands>The same state and event produce the same result. Host effects such as focus, scrolling, announcement, and activation are returned as commands instead of running inside Core.
Update loop
- Construct state from explicit input.
- Send one semantic event.
- Commit the returned state atomically.
- Execute returned commands in order at the host boundary.
- Publish the accepted revision.
Controlled ownership may reconcile a proposal with application state, but it must preserve internal transient progress required by the component contract. Revisions make stale parent updates observable.
Composition
Components combine the same smaller models. A Calendar uses grid movement plus Temporal date arithmetic. A virtualized Listbox keeps the full Core sequence and selection state while Virtual decides which item parts are rendered.
Read Transitions for the laws and Composition for the component mapping.
