~/talk

Codebase Conquest: How Nx Turbocharged Our React Workflow

Talkat DevFest Lille 2024 · 2024-06-06..06-07· [frontend-architecture, react]
slides:none on file

A migration moves Hasura’s large React repo into an integrated Nx workspace with custom Nx plugins and minimal webpack overrides, cutting local dev feedback from ~5 minutes to ~10 seconds (30x faster local dev) and shrinking the shipped bundle from 43 MB to 30 MB (70% bundle reduction is the claimed asset tree‑shaking win). CI speeds up ~16% via caching, single‑version policy forces dependency alignment, and the rollout happens incrementally with no production regressions.

AI-written summary · about

  1. 0:00Build time struggle
  2. 1:27Current setup limits
  3. 2:51Monorepo tool shopping list
  4. 4:17Evaluating NX
  5. 6:04NX integrated vs package-based
  6. 7:53Trade-offs of NX
  7. 10:00Migration without downtime
  8. 11:26NX configuration tweaks
  9. 13:12Switching to NX
  10. 13:52Results and gains
  11. 14:59Architectural improvements
~/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.