These are chat archives for pozadi/kefir

28th
Jun 2015
Ahmed Fasih
@fasiha
Jun 28 2015 20:38
Would it be a performance concern if I create a new stream fromEvents each time I create a certain DOM element (a textarea), then destroy the DOM element after I'm done with it? And if I do this potentially hundreds of times over a long-running browser session? Is there some kind of stream cleanup I should be doing, or any way to end a stream?
Roman Pominov
@rpominov
Jun 28 2015 20:41
Yeah, you should unsubscribe from stream — that should be enough.
And make sure you don't keep references to those streams.
Ahmed Fasih
@fasiha
Jun 28 2015 20:43
offValue—got it.
Roman Pominov
@rpominov
Jun 28 2015 20:43
yep
Ahmed Fasih
@fasiha
Jun 28 2015 20:44
Thanks so much!
Roman Pominov
@rpominov
Jun 28 2015 20:44
no problem)