~/talk

Introduction to Micro Frontends

Talkat OdessaJS 2018 · on Sunday, 2018-07-08· [frontend-architecture]

Claim: treat the UI like microservices and run independently deployed widgets. Implementation details: a simple fetch-and-inject bootstrap that loads JS/CSS and calls a global mount function, iframe + postMessage for isolated apps, and the open source single-spa modules with bootstrap/mount/unmount hooks for React/Angular/Vue. Small event bus Evee is used for cross-app events. Real usage: injected React into a large Rails monolith to avoid 20,000-test deployments, Google/Microsoft/Facebook use variants, and lazy loading and independent deploys work.

AI-written summary · about

  1. 0:00Intro
  2. 3:19Microservice principles
  3. 6:34How did we get here?
  4. 8:08What problem does it solve?
  5. 11:09Implementation
  6. 12:22External app bootstrapping
  7. 15:31React app export
  8. 15:51Fetching React app in the Root app
  9. 17:02Event bus - Eev
  10. 21:50Single-spa library
  11. 24:35Loading function
  12. 30:21Reactive Programming
  13. 31:59Conclusion
~/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.