forked from
anil.recoil.org/monopam-myspace
My aggregated monorepo of OCaml code, automaintained
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