--

"killing" a successful 25 yo Web standard doesn't seem like a wise thing to do but also I can't ready anything about killing `handleEvent` in that linked thread. That being said, these are two different APIs and I am not sure what is better or different at all with the `when` method but sure thing if `next` has a context it's identical to a listener with `handleEvent` method in it. I will use what's more appropriate for the occasion, I will never ditch the beauty that is `handleEvent` and I don't think it's possible to kill it because it will break everything on the Web.

--

--

Andrea Giammarchi
Andrea Giammarchi

Written by Andrea Giammarchi

Web, Mobile, IoT, and all JS things since 00's. Formerly JS engineer at @nokia, @facebook, @twitter.

No responses yet