Status: Accepted (2026-11-27, user decision). Supersedes 0016.
The app UI is growing: login, projects, files, members, tokens, pages, layers tree, properties, and soon comments, components and prototyping. Hand-written DOM (ADR 0016) costs a lot of boilerplate for forms and lists. The canvas must keep its frame budget: 4,000 pages / 5M shapes at ~120 fps, and drags never wait on UI.
apps/web/src/shell) and the editor panels (apps/web/src/panels), pinned exactly in apps/web only.packages/editor with selectors (useSyncExternalStore, notifications coalesced to at most once per frame).startTransition; a drag never waits on React.window.editor stays set (tools/bench).packages/{engine,editor,doc,sync-client} never import React (tools/check-deps).npm run bench passes, including with the properties and layers panels open during drags. The memory gate is unchanged.useSyncExternalStore semantics), and the size difference is irrelevant next to a WebGL engine.One UI runtime (~60 KB gzip) on the canvas page, loaded alongside the editor chunk. The editor exposes a framework-free state API (subscribe/getSnapshot, index-based layer access, selection, selected-node props, tool, zoom, perf). The shell’s sync and presence code stays framework-free in packages/sync-client; React components subscribe to sessions the same way.
The decision is unchanged; details are in 0402.
apps/web: react 19.3.1, react-dom 19.3.1, @types/react 19.3.0, @types/react-dom 19.3.0, @vitejs/plugin-react 6.3.0 (dev, Fast Refresh). No component library.mountEditor creates and removes the canvases, so React never owns engine DOM.useDeferredValue (transition priority) behind a no-op synchronous useSyncExternalStore render; tool, zoom and HUD text render directly.