Re: [whatwg/dom] [Proposal] Add EventTarget.getEventListeners() (#412)

IMHO the only reason to ```getEventListeners()``` is because you want to clean up your own listeners after leaving. But, you can put a little effort in order to track manually your listeners. Also, @domenic said
> ... and it changes your story as a component author from "include my component and it'll work" to "include my component but make sure all your third-party scripts aren't doing some over-aggressive cleanup action or you'll see strange behavior"

For me, this statement has a lot of sense... So, ```getEventListeners()``` doesn't add a significant value to DOM.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/412#issuecomment-281264355

Received on Tuesday, 21 February 2017 07:21:30 UTC