~/talk

Scaling Micro-Frontends with Custom Elements

Talkat Build Stuff 2022 · 2022-11-09..11-11· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Claim: use custom elements (web components) + templates + shadow DOM to compose independently deployed micro-frontends that register via custom tags (must include a dash), expose lifecycle callbacks (connected/disconnected, attribute changes) and communicate via message passing. Trade-offs: multiple frameworks load per page (React/Angular/Vue), duplicated runtimes and larger JS cost versus iframes or standardizing a single framework. Server-side rendering and shared theming are possible but require coordination.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:27Company and team structure
  3. 3:15Micro-frontends concept
  4. 7:36Custom elements basics
  5. 10:10Framework independence challenges
  6. 13:01Custom elements communication
  7. 15:29Custom element lifecycle
  8. 17:16Styling custom elements
  9. 19:23Shadow DOM explained
  10. 21:49Theming and CSS trade-offs
  11. 24:23Centralized styling solutions
  12. 26:20Templates and shadow roots
  13. 27:47Framework compatibility
  14. 29:11Performance considerations
  15. 31:03Loading multiple frameworks
  16. 34:18Political vs technical solutions
  17. 36:06Brand consistency issues
  18. 38:16Useful resources
  19. 39:42Q&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.