~/talk

The Micro Frontend Revolution: Webpack 5 Module Federation and Angular

Talkat AngularUP Experience 2020 · 2020-11-30..12-03· [frontend-architecture]
slides:none on file

Module Federation in Webpack 5 lets a host shell load separately compiled Angular apps at runtime and share singletons like Angular core so only one instance loads; demo shows a remote on localhost:3000 loaded into a shell on 5000 with the remote bundle ~12.6 KB. Angular CLI 11 bundles with Webpack 4 by default, so projects opt into Webpack 5 using yarn and a custom builder such as angular architects module federation to enable Module Federation and optional dynamic federation for runtime lookups.

AI-written summary · about

  1. 0:00Intro
  2. 0:50What is a Micro Frontend
  3. 4:23What is Module Federation
  4. 9:57The trick
  5. 11:40Angular Architects
  6. 12:49Demonstration
  7. 13:43Packagejson
  8. 15:45Enabling Module Federation
  9. 17:36Micro Frontend Configuration
  10. 22:15Lazy Loading
  11. 24:58Testing
  12. 26:11When to use
  13. 27:17Angular Architects Ebook
  14. 27:40Conclusion
~/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.