Re: [whatwg/dom] Adding a `context` property to the listener options. (#472)

I support this. Not *instead of* groups (as it doesn't solve most use cases of groups), but in addition to them, to avoid having to invent pointless groups just to unbind callbacks from multiple elements.

It may be helpful to provide an example where this is not merely a performance improvement over arrow functions though, but also leads to more maintainable code. Performance is often a weak reason to standardize around because it changes so much over the years.

-- 
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/472#issuecomment-311516426

Received on Tuesday, 27 June 2017 23:43:57 UTC