~/talk

Module Federation: Theory vs Practice

TalkinSlovakat FrontKon 2023 · on Thursday, 2023-10-12· [frontend-architecture, microservices]
links:none on file
slides:none on file

A team moved a 10+ site monolith to micro-frontends and used Webpack Module Federation to share a design-system package and other code without republishing each app. The setup used the webpack core plugin to create a remote manifest and lazy-loaded remotes, enforced React as a singleton to prevent dual-React crashes, and wrapped federated imports in an error boundary. Module Federation enabled very fast setup and live updates across apps but did not provide runtime isolation, so breaking changes and versioning still had to be managed manually.

AI-written summary · about

  1. 0:00Modular apps intro
  2. 4:20Monolith frontend problems
  3. 7:54Micro frontend definition
  4. 9:20Module Federation solution
  5. 13:00Federation principles
  6. 16:33Compatibility with bundlers
  7. 17:18Design system use case
  8. 20:36Implementation challenges
  9. 22:27Federation limits
  10. 24:57Q&A
~/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.