Re: [whatwg/dom] Removing event listeners through an identifier (#208)

> More issues with multi-group support :-/

These aren't showstoppers, just issues that need to be decided on. Such issues always come up with any standard. We certainly spend a lot of time discussing way more remote edge cases in the csswg :)

You have to decide on the same thing with a singular group anyway:

```js
el.addEventListener("type", cb, { groups: "a" });

// Should this add again? Same callback and same event? What's the use case where this is not a mistake?
el.addEventListener("type", cb, { groups: "b" });
```

> How important is multi-group support, do people think? Web developer perspectives appreciated.

As I said, multiple groups are much more important when unbinding, and that can be emulated by just looping.
If you think multiple groups complicate the feature to the point where they might hinder implementations, they could wait. There's no disambiguation issue, so they can always be added later. Let's try to get the simple version of the feature in asap.

-- 
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/208#issuecomment-311507969

Received on Tuesday, 27 June 2017 22:51:04 UTC