~/talk

Mass Frontend Refactors: Less Stress; More Success

slides:none on file

Shows how to convert a 2 million‑line JavaScript codebase to a new i18n API using AST transforms rather than blind find/replace, using babel codemod or Facebook’s jscodeshift (SWC plugins are coming). Emphasizes required armor: reliable CI, per‑file unit tests, E2E and TypeScript checks, and a roll forward strategy. Recommends monorepo + divide‑and‑conquer PRs, commit‑then‑rebase‑and‑fix workflow, and experimenting at astexplorer.net; result: big changes succeed but expect temporary breakage and the need for quick rollbacks.

AI-written summary · about

  1. 0:00Introduction to mass refactors
  2. 3:33Armor for successful refactors
  3. 6:21Monorepos as refactor tools
  4. 7:03Choosing your code mod weapon
  5. 10:34Writing your code mod script
  6. 12:58Refactor strategies and tactics
  7. 16:24Live AST exploration demo
  8. 30:07Rollback and roll forward strategies
  9. 33:17Closing and feedback request
~/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.