~/talk

Breaking the Monolith: A Comprehensive Guide to Code Splitting

Talkat Conf42 JavaScript 2023 · on Thursday, 2023-11-16· [frontend-architecture, web-platform]
slides:none on file

Six concrete ways to split a monolith with tradeoffs and triggers: iframe embeds for simple modules, proxy (nginx) for framework migrations at the cost of performance, web components for a cross‑platform UI kit, npm packages as an easy first step but with harder debugging and release flow, single-spa for per‑URL apps and lifecycle control, and webpack 5 module federation to share modules and cache libraries so React isn’t loaded N times. Triggers to break are long CI (eg 6 hour builds), rising complexity, onboarding limited to seniors, or more than five active developers.

AI-written summary · about

  1. 0:00intro
  2. 0:22preamble
  3. 0:38who is aleksandr
  4. 1:04speech plan
  5. 1:36there are 2 approaches
  6. 2:53monolith - is it bad?
  7. 6:02when should a monolith be broken?
  8. 7:34iframe
  9. 8:08nginx or another proxy server
  10. 9:24web components
  11. 10:44npm
  12. 12:47microfrontends
  13. 13:19single-spa
  14. 14:13webpack 5 module federation
  15. 14:54iframe
  16. 16:28proxy server
  17. 16:50web components
  18. 17:10npm
  19. 17:22single spa
  20. 17:54webpack 5 module federation
~/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.