Event Driven Web Components • TodoMVC
Vanilla JS Web Components in an Event Driven Architecture
- Build an Event Driven TodoMVC App with 8 lightweight VanillaJS Web Components
- DOM and the event driven architecture - Introduction
- Web Components and now what?
Let us know if you discover anything worth sharing.
- IOS does not yet support "is", even though I used it deliberately. You can at anytime fall back to use web components without "is" => https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define and then it will work in any modern browser.
Frontend Event Driven Architecture works basically like the DOM itself. There are loosely coupled components (nodes), which emit events and those get captured by other components. They may also emit events on their behalf, which can be consumed.