Chapter 14. Events and application data flow
This chapter covers
- Creating your own Custom Events versus using the DOM’s native events
- Event bubbling for the two event types, including using the composed option to bubble through the Shadow DOM
- The WebComponentsReady event and the customElements.isDefined promise for handling timing
- Using a centralized data model and an event bus to handle data flow throughout an application
As we get closer to the end of our Web Component journey together, there really isn’t much left to cover in terms of Web Component features. That said, when contrasting what we’ve learned thus far in this book against a modern framework, Web Components may feel a little lacking in some areas.
14.1. Framework offerings ...
Get Web Components in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.