Linora

0402. React shell and panel bindings

Status: Accepted (2026-11-27, WP-D). Implements 0025 in apps/web.

Context

ADR 0025 puts the shell and panels on React 19 under hard rules: the engine stays outside React, panels read the editor’s external store through useSyncExternalStore selectors, non-urgent updates are transitions, the layers list is virtualized, and no document data lives in React state. Those rules leave several mechanics open: how the stage and the engine’s DOM are owned, how a store snapshot becomes a non-urgent render (useSyncExternalStore updates are always synchronous), where sync/presence state lives, and how a virtual list reads 682K rows without per-row objects.

Decision

Alternatives

Consequences