# Feature: widget/FRP bridge Experimental work to enable reactive UI widgets (sliders, plots, mini-apps) driven by OCaml code running in the Web Worker. Backend-authoritative architecture: Worker owns state, view descriptions flow out via postMessage, user events flow back in. ## Scope - Evaluate Lwd vs Note as the reactivity library - Design a serializable view description format (no closures, no JS refs) - Implement experiments A–D (counter, richer widgets, TyXML integration) - Measure ergonomics, serialization format, latency, bundle size ## References - [Design](docs/plans/2026-02-20-ocaml-interactive-tutorials-design.md) — Section 5 - [Plan](docs/plans/2026-02-20-ocaml-interactive-tutorials-plan.md) — Stream 4 (tasks 4.1–4.5)