Reference
Rerender Consistency
Look up syntax, contracts, layouts, algorithms, and exact behavior.
Because the server owns the component tree, rerender consistency depends on sequencing. Callback invocation, state mutation, callback-table replacement, HTML generation, and shell delivery must occur as one ordered transaction for a renderer.
- Only the addressed renderer is mutated by a callback transaction.
- The active callback table is regenerated from the rendered tree.
- Page transitions persist outgoing state before replacing the active page.
- Viewport updates are stored per renderer and consumed during subsequent renders.
- Duplicate or stale callbacks are rejected by renderer/page/callback identity checks.
This transaction model is the server-side equivalent of UI reconciliation. Instead of diffing fibers in the browser, TSXLight rebuilds the renderer-owned shell from authoritative server state.