~/talk

Landscape of Module Federation: 2024 and Beyond

Talkat JNation 2024 · 2024-06-04..06-05· [frontend-architecture, web-platform]
slides:none on file

Module Federation 2.0 exposes a runtime API with runtime plugins and lifecycle hooks like beforeInit and initContainer that let imports be rewired, provide a load-remote fallback, and enable API‑controlled remotes without rebuilds. It adds HMR/Fast Refresh, Chrome DevTools integration, TypeScript remote types sync (now in‑browser), Node Federation improvements, and RSC work with Remix. Backed systems include Zephyr Cloud and RS Pack (rust rewrite) and reported wins include ~60% faster builds, 2.5k CI hours saved weekly, 300% more deployments, and major cost reductions.

AI-written summary · about

  1. 0:00Introduction to Module Federation
  2. 1:45Redesign and Federation 2.0
  3. 2:28Runtime API and plugins
  4. 4:15Dynamic dependency rewiring
  5. 5:17API controlled remotes
  6. 6:39Dynamic mapping and type syncing
  7. 8:25Hot reload and fast refresh
  8. 9:09Runtime lock files
  9. 10:12Zephyr Cloud deployment
  10. 13:43Business impact at ByteDance
  11. 16:34Rspack and performance gains
  12. 18:59Rspack ecosystem tools
  13. 23:17Roadmap and future features
  14. 25:47Federation router concept
  15. 27:33RSBD and RS Speedy
  16. 28:18SSR and modern JS support
  17. 29:02Cost savings and conclusion
~/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.