Explorer
Watch the graph work
Each graph below is a real ReactiveDomain. Every computed records what it read and whether its result changed, and the colors come straight from those records. Nothing here reads a computed to draw it, so laziness looks exactly like it behaves.
- fresh
- dirty
- maybe stale
- never read
- released
Laziness
Cutoff
Dynamic dependencies
Lifetime
label is observed, so a write reruns everything it depends on at once. Switch observation off and the derived nodes are released. Read label to bring them back, then change price: now nodes only go dirty and wait to be read.
- fresh
- dirty
- maybe stale
- never read
- released
price
quantity
coupon
observe label
Events
Change something to see what runs.