~/talk

Web components - A whirlwind tour

Talkat Jazoon TechDays Spring 2016 Bern · on Friday, 2016-04-08· [web-platform]
slides:none on file

Covers concrete Web Components pieces: HTML <template> (stable, parsed to a document fragment so DOM insertion is orders of magnitude faster than innerHTML), Shadow DOM (isolates styles and DOM but is still spec-in-flux and often behind flags), Custom Elements (createdCallback/attachedCallback, must use a dash in tag name, supports lifecycle and attributeChanged), and HTML Imports (synchronous loading and blocking today). Demonstrates a reusable filterable-list implemented as a custom element, and points to polyfills via webcomponents.js for older browsers.

AI-written summary · about

  1. 0:00Start
  2. 1:49So let's talk about Web Components
  3. 5:09So how do we get to this?
  4. 5:51Semantic markup everywhere.... 3
  5. 12:47Sample: Filterable list (cont.)
  6. 15:20I know what you think...
  7. 15:36But... wouldn't this be great?
  8. 16:41Voila: Web Components!
  9. 18:15State of the art
  10. 19:09Template Element: What for?
  11. 19:37Template Element: Status
  12. 21:17Template Element: Here's how (cont.)
  13. 23:08Shadow DOM: What for?
  14. 23:41Shadow DOM: Status
  15. 25:16Shadow DOM: Here's how
  16. 26:59Custom Elements: What for?
  17. 27:31Custom Components: Status
  18. 28:48Custom Components: Here's how
  19. 29:48Custom Components (cont.)
  20. 30:22Custom Elements + Shadow DOM
  21. 31:47HTML Imports: What for?
  22. 32:03HTML Imports: Status
  23. 32:55HTML Imports: This is how it's used
  24. 33:11So.. how about the others?
  25. 34:59What makes a good web component?
  26. 35:44In summary: Browser support
  27. 36:14In summary: Standards
  28. 36:29Frameworks & Libraries
  29. 37:02Thank you!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.