Let's talk about Web Components
summary
Claims that Web Components are native, reusable HTML with no build step and cross‑framework portability and then shows it: defines a class with custom elements, renders by setting innerHTML or cloning a template.content, encapsulates styles by calling attachShadow({mode: "open"}) and using connectedCallback to read attributes and mount content. Live demo has small errors but ultimately renders isolated post and mirrored shadow content; notes custom‑elements‑everywhere scores (Angular 100, Vue 100, React lower) and links code.
AI-written summary · about
chapters (4)
related talks
45mLet's Talk About Web Components
29mWhen to Use Web Components
36mThe State of Web Components
44mWeb Components An Introduction to the Future
37mThe world of Web Components
20mI’m With Web Components and Web Components Are With Me
46mWhat ever happened with Web Components?
39mWeb components - A whirlwind tour
