Re: [w3c/webcomponents] [template]How to remove a listener registered on createCallback (#708)

There is no such a concept as "unmounting". Whatever library / framework that decides to make the template no longer work must manually remove event listeners, etc...

In general, there is not really a concept of deleting a subtree since everything JS can ever reach would always won't be collected by GC. Removing from a document, etc... wouldn't change this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/708#issuecomment-344103040

Received on Tuesday, 14 November 2017 00:17:12 UTC