localvoid / ivi

Lighweight Embeddable Web UI Library
MIT License
724 stars 22 forks source link

Question: using addEventListener instead of Events? #14

Closed threeid closed 5 years ago

threeid commented 5 years ago

Hi localvoid,

Is there any downside of using addEventListener instead of Events that i need to know? Because I want to use htm with ivi and Web components.

Thanks, threeid

localvoid commented 5 years ago

Hi,

Is there any downside of using addEventListener instead of Events that i need to know?

Events() provides a composable and extensible solution for events. React team recently started working on something similar (React flare).

Because I want to use htm with ivi and Web components.

I am not sure that ivi would be a good solution if you are planning to use htm and web components:

threeid commented 5 years ago

Thank you for your reply.