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