~/talk

The (Real) State of Web Components

Talkat revo.js 2019 · 2019-10-03..10-04· [web-platform, frontend-architecture]
github:Hotell
slides:none on file

Live coding builds a working WC-counter custom element with customElements.define, Shadow DOM, slots, CSS variables and getter/setter state, proving practical encapsulation and theming. Claim: only 6% of all pages use Web Components; browser support is broad except IE and iOS lack of customized built‑in elements. Problems shown: global registry collisions, form and SSR gaps, declarative shadow DOM proposal declined, and library payloads (lit-html/lean-element ~7KB, Haunted ~5KB, xTag ~6.5KB) can sum to ~40KB for six components. Recommends design systems, micro frontends, Stencil or raw Web Components.

AI-written summary · about

  1. 0:00Start
  2. 1:16Disclaimer
  3. 2:07Meanwhile on the internet
  4. 2:58WebComponents everywhere?
  5. 15:20Web Components Pros & Cons
  6. 16:01Global namespace
  7. 16:42Progressive enhancement/Aly
  8. 20:08Web Components + library zero runtime?
  9. 21:29SVG
  10. 22:00Forms
  11. 22:29Server Side rendering
  12. 23:27State of Components without Web Components
  13. 24:36When should we use Web Components
  14. 25:26How should we author Web Components
~/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.