Re: [whatwg/dom] Make it easier to dispatch custom events (#483)

Oh! I must not be developing as folks expect. I use custom events all the time in components I write, whether it’s a carousel firing a `changeslide` event, or a global menu firing an `openmenu` event. I use `CustomEvent` for all of these things. I don’t use other classes because I am not pretending to be other kinds of event, like `MouseEvent`, `KeyboardEvent`, etc.

What you’re saying about testing code paths seems like a different use case. Is what I’m doing rare / wrong / not best practice?

-- 
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/483#issuecomment-318356041

Received on Thursday, 27 July 2017 13:07:05 UTC