

Supper Club × Web Components and Lit with Justin Fagnani of Google
Mar 31, 2023
In this discussion, Justin Fagnani, a Google software engineer focusing on web components and Lit, shares valuable insights into the world of modern web development. He explains the advantages of web components over traditional frameworks like React, delving into their architecture, including custom elements and shadow DOM. The conversation also highlights Lit's role in enhancing developer productivity, performance boosts from using signals for state management, and the evolving landscape of browser compatibility, with a nod to Reddit's shift from React to Lit.
AI Snips
Chapters
Transcript
Episode notes
Web Components for Reusability
- Consider web components for reusable UI elements.
- This avoids framework lock-in and simplifies cross-platform development.
Web Components Defined
- Web components extend the browser's native component model.
- This lets developers create custom HTML elements using standard APIs.
Shadow DOM Explained
- Shadow DOM encapsulates a component's internal structure.
- It offers style scoping, DOM scoping, and interoperable composition.