Documentation
¶
Overview ¶
Conditional Watch — reactive demo. A dual-server monitor that showcases WatchEffect's dynamic dependency tracking. Both servers update every frame via a simulation controller. The "Active Monitor" panel uses a single WatchEffect that reads from Server A or Server B depending on the selection: when Server A is active it subscribes to A's refs; switch to Server B and the watch automatically drops A's refs and picks up B's. No manual unsubscribe needed — the scheduler manages subscription bookkeeping on every re-run.
Click to show internal directories.
Click to hide internal directories.