One Component a Day Keeps the Doctor Away
summary
Shows a single-file component workflow using Web Components (custom elements and the Shadow DOM) and demonstrates a music player that fetches and caches album art, uses templates, lazy-loads images, and handles lifecycle and attribute changes. Explains practical pitfalls around scoping, element registration, and cross-frame access, and points to code on GitHub (OneComponentADay) plus slides with a live demo of components rendering and updating album covers.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:10Album art challenge
- 2:39Download function
- 4:23Yarn framework
- 5:28Template basics
- 7:15Custom elements & shadow DOM
- 10:50Life cycle callbacks
- 11:34Shadow DOM isolation
- 13:22Styling in shadow DOM
- 14:24Browser support
- 16:16Reusable components
- 17:21Component libraries
- 18:48Modern development
- 20:11Practical examples
- 21:16Live demo
- 22:26Q&A
related talks
29mWhen to Use Web Components
36mWeb components - A whirlwind tour thru the future of the web
45mLet's Talk About Web Components
51mBuilding web applications with Web Components
28mThe (Real) State of Web Components
37mThe world of Web Components
39m50 Shades of Web Components
41mComponents Approach to Building Web Apps
