Chapter 1, Web Components Essentials and Specifications, discusses the concept of web components and the specifications associated with them.
Chapter 2, Web Components Life Cycle Callback Methods, covers various life cycle callback methods associated with web components.
Chapter 3, Universal Web Components, explores various concepts, such as styling and accessibility, that can increase the usability of web components.
Chapter 4, Building Reusable Web Components, explains the concept of reusability and looks into the concept of slots.
Chapter 5, Managing States and Props, discusses the concepts of states and props and how it can be achieved with the help of properties, attributes, and custom event handlers.
Chapter 6, Building a Single Page App using Web Components, looks into the process of creating a full-fledged single-page web app using just web components.Â
Chapter 7, Implementing Web Components using Polymer and Stencil, covers how different libraries and frameworks are different from vanilla web components.
Chapter 8, Integrating Web Components with a Web Framework, explores how we can integrate vanilla web components into existing projects with other libraries.
The book also contains a lot of examples—more than 50 web component examples—that can be referred to by both beginners and advanced users.