~/talk

Applications instead of libraries: Micro frontends implemented through module federation

Talkat Voxxed Days Zürich 2022 · 2022-05-17..05-19· [frontend-architecture, react]
links:none on file
slides:none on file

Team splits a monolith into microfrontends using Webpack 5 Module Federation to load a remote navigation widget that handles a few million hits/day; integration takes about three to four months to production and a colleague spends ~3 weeks building a dynamic loader (~200–300 lines). Shared-dependency choices (React 16→17) force singletons and coord upgrades, state uses React Context and a small shared provider library, testing relies on isolated bundles plus Cypress synthetic tests and Datadog monitoring with error boundaries.

AI-written summary · about

  1. 0:00Applications Instead of Libraries Micro Frontends with Module Federation
  2. 1:13Distributing front end applications
  3. 11:292 What is module federation?
  4. 12:17Load modules remotely at runtime
  5. 15:59a Application
  6. 19:59Shared Dependencies
  7. 28:59Error Handling
  8. 30:37Testing remote components
  9. 34:20Scaling Usage
  10. 35:38Encouraging Adoption
  11. 37:19Lessons Learned
~/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.