~/talk

Why Lit is 🔥

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [web-platform, component-design]
slides:none on file

Lit packages template literals with web components (custom elements + shadow DOM + CSS variables) into a 6 KB runtime — the presenter claims 6.2 KB gzipped overhead — using tagged templates implemented in browser C code for fast DOM diffs. Code examples use decorators and TypeScript, reactive properties and @state, CSS tagged templates, and event listeners like @click. Lit Labs prototypes SSR support (nearing graduation), tooling for routers/virtual scroll, and a Magento storefront proves one web component API sped integration and frontend delivery.

AI-written summary · about

  1. 0:00Why Lit is powerful
  2. 1:06Web components overview
  3. 3:55Web platform evolution
  4. 7:09DOM manipulation challenges
  5. 12:55JavaScript literals
  6. 16:51Lit: components + literals
  7. 18:18Basic Lit component
  8. 21:58Advanced Lit features
  9. 23:47Event handling in Lit
  10. 25:33CSS literals in Lit
  11. 26:40Lit Labs experiments
  12. 27:22Learning more about Lit
  13. 28:29Q&A: Lit improvements
  14. 30:39Q&A: Lit success story
  15. 33:30Q&A: Web components myths
  16. 34:54Q&A: Web components pain points
  17. 36:40Q&A: Lit vs frameworks
  18. 38:24Q&A: Web components future
~/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.