Web Components Q&A
summary
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
chapters (9)
- 0:00Q&A
- 0:34Web components in React apps
- 2:27Accessibility with custom elements
- 4:39Web components vs Next.js
- 7:27Convincing management to adopt
- 8:55Drawbacks of web components
- 10:59Migrating with web components
- 12:44Reactivity in web components
- 14:54Passing complex data to components
related talks
25mReact x Web Components : How It Is and How It Could Be
20mI’m With Web Components and Web Components Are With Me
26mThe complementarity of React and Web Components
15mReact X Web Components: How it is and how it could be
45mReact Web Components How It Is and How It Could Be
49mSupporting accessibility in React: the difficulties and niceties
59mReact in 2024: Exploring the New Stuff
46mHow to Befriend Web Components and JS Frameworks
