~/talk

Using Lit and Web Components to build Single-Page Applications

Talkat jsday 2022 · 2022-04-21..04-22· [web-platform, web-performance]
slides:none on file

Claims that Lit plus Web Components can power full SPAs, backed by demos: a router that updates properties instead of recreating components and supports lazy imports, a small runtime of 5 KB compressed, animation and i18n packages from Lit Labs, a form-builder experiment that reproduces Angular reactive forms in hours, and reusable reactive controllers (mouse, tasks) that wire state and async loading. Performance and interoperability show practical, measurable outcomes rather than vague benefits.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19Today’s topics
  3. 3:02Web components purpose
  4. 7:47Lit versus React
  5. 9:51Simple Lit element
  6. 10:55Tagged template literals
  7. 12:19Why choose Lit
  8. 13:22Reactive controllers
  9. 15:11Mouse position controller demo
  10. 16:58Slides with components
  11. 17:19Lit directives
  12. 18:44Async directives
  13. 20:32Angular forms in Lit
  14. 23:42Lit Labs intro
  15. 24:24Lit localized for internationalization
  16. 25:29Motion directives
  17. 26:10Task controller
  18. 27:17SPAs with router
  19. 30:29Lit Labs packages
  20. 31:58Closing thoughts
~/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.