~/talk

Refactoring large JavaScript codebases

Talkat jsday 2022 · 2022-04-21..04-22· [javascript, developer-experience]
slides:none on file

Claims that codemods scale: scripts using JSCodeShift plus Babel and recast transform ASTs across hundreds of thousands of files and run multi‑threaded, so a single team can complete months of manual work in weeks. Shows concrete moves: replace lodash.get with optional chaining, add ESLint rules and eslint/git hooks to block old patterns, and large automated PRs that mostly work but break on complex control flow (uncaught promise rejections). Stresses high test coverage and QA as mandatory.

AI-written summary · about

  1. 0:00Refactoring large JS codebases
  2. 2:37Why refactoring is hard
  3. 7:16Divide and conquer refactoring
  4. 16:01Automating refactors with Codemods
  5. 24:52JS CodeShift and ASTs
  6. 30:30Q&A
~/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.