Future-proof your Web Apps with Web Components and LitElement
summary
Shows how LitElement and LitHtml let you write real browser components (custom elements) with shadow DOM encapsulation, ES modules and optional TypeScript decorators. Demonstrates a working GitHub repo lister app that fetches the API, maps attributes to properties, composes repo card components with slots and CSS variables, and updates automatically without a framework. Runs in evergreen browsers (Edge now Chromium) and can fall back to polyfills for IE; tooling suggestions include OpenWC and webcomponents.dev.
AI-written summary · about
chapters (11)
- 0:00Introduction to Web Components
- 8:53Browser Support for Web Components
- 17:10What is LitElement?
- 25:03TypeScript with LitElement
- 29:27Getting Started with OpenWC
- 32:42Building a GitHub Repo List
- 38:23Creating Repo Card Component
- 42:00Adding Filter Functionality
- 46:20Using ShadowDOM Slots
- 48:54Custom CSS Properties
- 51:06Resources and Summary
related talks
46mFuture-proof your Web Apps with Web Components and LitElement
32m"Future-proof your Web Apps with Web Components and Lit"
02h 32mBuild next gen web apps using web components
51mBuilding web applications with Web Components
37mThe world of Web Components
36mThe State of Web Components
37mUsing Lit and Web Components to build Single-Page Applications
36mWeb components - A whirlwind tour thru the future of the web
