How to dispose an effect?
EisenbergEffect opened this issue · comments
Rob Eisenberg commented
Is there an API that one should call when an effect should be disposed? Or is there a way to turn an effect on/off?
Milo Mighdoll commented
Turning off an effect would be relatively easy: set node.effect = false
. Cleaning up an effect (and nested effects/computations) is currently out of scope for reactively.