Closed
Description
Say that I have a widget that runs in parallel with an Effect
, such as
canvas [ _id $ show canvasId ] []
<|> (liftAff (runCanvas canvasId) *> empty)
I'm finding that, when this widget is removed, the runCanvas
effect continues to run, and as this widget is removed and re-added, the effects stack, resulting is performance slowdown and memory buildup.
Does Concur have something like React's componentWillUnmount
to clean up effects, like the example above.