~/talk

Web Components Q&A

Talkat React Finland 2022 · 2022-09-12..09-16· [react]
slides:none on file

React 19 adds web component support and until then expect two gotchas: React 18 doesn’t forward custom events and Boolean attributes behave oddly. Lit Labs react is usable to wrap components, and lit gives local reactivity by syncing properties and re-rendering only changed parts. Shadow DOM hides internals so accessibility needs deliberate work (common workaround: put native inputs in the light DOM). Server-side rendering and framework integration remain partial, but teams report success migrating legacy widgets by wrapping them as web components. React 19 adds web component support lit-labs/react bridges gaps

AI-written summary · about

  1. 0:00Q&A
  2. 0:34Web components in React apps
  3. 2:27Accessibility with custom elements
  4. 4:39Web components vs Next.js
  5. 7:27Convincing management to adopt
  6. 8:55Drawbacks of web components
  7. 10:59Migrating with web components
  8. 12:44Reactivity in web components
  9. 14:54Passing complex data to 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.