Linora

0016. Web UI: vanilla TypeScript, no framework

Status: Superseded by 0025 (2026-11-27: the user chose React for app UI; the engine stays outside React).

Context

Existing panels are hand-written DOM with throttled updates (virtualised 5M-row layer list). The shell adds login, project/file lists, a pages panel and presence avatars.

Decision

Keep vanilla TS with a tiny h() element helper and small component functions returning { el, update }. Panels update from frameHooks/version counters as today; the shell uses a ~50-line hash router. No framework runtime on the page that hosts the canvas.

Alternatives

Preact/Solid (~5 KB): nicer for forms and lists; revisit with a superseding ADR if UI volume grows (comments, components, prototyping).

Consequences

Zero UI dependencies; consistent with existing panels; more boilerplate for forms.