~/talk

Modularizing Your Frontend: From Simple Monolith to Micro Frontends

Talkat CityJS London 2023 · 2023-04-21..04-23· [frontend-architecture]
links:none on file
slides:none on file

Migrates a React monolith into a modular monorepo using NX monorepo and Webpack Module Federation, showing a working shell plus two remotes (orders on 4200, dashboard on 4101) loaded at runtime. Demonstrates shared scope prevents loading React/material twice, remote bundles fetched lazily, and cached between navigations. Notes tradeoffs: too many tiny microfrontends hurts deploy and runtime, CI slows in a monorepo, and mixing frameworks raises performance and staffing costs. Live demo builds and runs independently per remote and shows affected graph and nx commands.

AI-written summary · about

  1. 0:00What are micro frontends
  2. 1:05Benefits of micro frontends
  3. 2:07Risks of over-modularizing
  4. 4:12Modular monolith approach
  5. 5:15Demo: NX setup
  6. 10:29Module Federation basics
  7. 12:36Module Federation benefits
  8. 13:20Demo: Micro frontends in action
  9. 18:11Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.