~/talk

The Good, The Bad, and The Web Components

Talkat JSHeroes 2023 · 2023-05-18..05-19· [web-platform, web-performance]
slides:none on file

Claims that Web Components initialize faster and avoid library overhead get tested with concrete examples: a counter built in light DOM, then Shadow DOM, then declarative Shadow DOM (shipping in Safari 16.4), exposing layout shift and JS dependencies. Data points include ~18.9% Chrome page loads and Microsoft adoption on ~1500 projects for fast. A server-side tool, webc, compiles component templates to SSR HTML, removes repetition, and outputs working pages with progressive enhancement and no library JS.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Web components matter
  3. 5:00Build basic component
  4. 8:14Advanced use cases
  5. 11:51Shadow DOM challenges
  6. 13:14Declarative Shadow DOM limits
  7. 17:09SSR web components today
  8. 19:16Frameworks compatibility
  9. 20:20Solving SSR with webc
  10. 22:48Performance best practices
~/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.