~/talk

Solving Components errors with Server Side Rendering

Talkat Wey Wey Web 2023 · 2023-11-23..11-24· [web-platform, frontend-architecture]
slides:none on file

Web Components cause a flash of undefined custom element and break native forms inside Shadow DOM; declarative Shadow DOM fixes the first but lacks Firefox support. The talk shows an open‑source framework called enhance that server‑side renders Custom Elements, hoists scoped styles into the head, marks rendered nodes to avoid double rendering, and rehydrates client behavior. A plain input/checkbox demo requires ~40–50 lines of ElementInternals form code to work in Shadow DOM; enhance keeps forms native and reduces client JS.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:05What are web components?
  3. 3:33Why use web components?
  4. 9:29Problems with web components
  5. 13:41Flash of undefined custom element
  6. 15:28Shadow DOM and native forms
  7. 20:25Solutions for form issues
  8. 23:34Server-side rendering benefits
  9. 29:10Q&A and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.