Your code runs with the proposal's Signal (the reference polyfill) and these helpers:
new Signal.State(v, { name })name labels it in the graph.new Signal.Computed(fn, { name })fn reads.effect(fn, name?)fn now and again after anything it read changes, batched per microtask. Returns a stop function.log(...values)ui.button(label, fn)ui.slider(label, state, { min, max, step })ui.text(label, state) · ui.toggle(label, state)ui.show(label, signal)setTimeout · setIntervalSelect a node to set its value, see what it reads, and why it last re-ran.
| Kind | Name | Value | Writes / runs |
|---|