Web Components: It's all rainbows and unicorns! Is it?
summary
Argues that web components are useful but not magical and gives concrete results: evaluates the four specs — template, HTML imports, custom elements, shadow DOM — shows a working progress bar component, finds HTML imports deprecated March 2018 and duplication warnings in Chrome, recommends using custom elements now, warns that shadow DOM hard to polyfill so use it only with feature detection, and uses polyfills and ES modules as the practical tooling that actually works.
AI-written summary · about
chapters (12)
- 0:00Start
- 3:25Web components public image
- 4:11Motivation
- 7:31Refresher on web components
- 8:25HTML Template Tag Usage
- 9:29HTML Imports
- 10:46How to get my component?
- 11:21HTML Import requires a polyfill
- 13:21Key concepts
- 17:38Custom Elements ES6 Class
- 18:50Component example
- 22:14Takeaway
related talks
37mWeb Components: It's All Rainbows and Unicorns! Is It?
39mWeb components - A whirlwind tour
36mWeb components - A whirlwind tour thru the future of the web
24mThe Good, The Bad, and The Web Components
42mThe Good, The Bad, The Web Components
43mWeb Components: From 'Why Not?' to 'Why Now!'
28mWeb Components: 10 Things to Know
41mWeb Components en 2019, on en est où ?
