~/talk

Cross Framework Components using Custom Elements or Mitosis

Talkat Connect.Tech 2024 · 2024-11-18..11-20· [web-platform, frontend-architecture]
slides:none on file

Explains when plain web components win (no runtime, vanilla web components 1.12× faster in benchmarks) versus when a generator helps; shows GitKraken using Lit Element across desktop, VS Code and web app and warns about Shadow DOM closed limits, registration/lazy-loading pain, and the obscure adoptedCallback. Demonstrates Mitosis as a compiler that outputs framework-specific code (methods become class members in Angular, top-level functions in React) and that it successfully ported Boring Avatars to 7 targets, summarizing Mitosis compiles to React Angular Vue Solid etc and works for presentational components.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:50About Git Kraken tools
  3. 3:42History of web components
  4. 9:21Building web components basics
  5. 12:51Lifecycle hooks in components
  6. 14:35Handling props and events
  7. 16:17Cross-framework web component support
  8. 18:02Git Kraken’s use of LitElement
  9. 19:48Introducing Mitosis library
  10. 22:37Mitosis component structure
  11. 25:24Control flow and children in Mitosis
  12. 26:48Context in Mitosis components
  13. 29:18Demo: Boring Avatars with Mitosis
  14. 33:08Generated code comparison
  15. 36:11Q&A session
~/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.