~/talk

Codemods and Transforming JavaScript Code

TalkinRussianat The Rolling Scopes Conference 2018 · on Sunday, 2018-02-11· [javascript, developer-experience]
slides:none on file

Explains how AST-based tools work for analyzing and transforming JavaScript code, naming and demonstrating tools for AST parsing and manipulation, using ASTs for static code analysis and automated code transformation. Covers codemods as practical scripts used to migrate libraries or update syntax when moving to new versions.

AI-written summary · about

  1. 0:00Codemods intro
  2. 2:16Regex pitfalls
  3. 3:20AST as solution
  4. 6:50AST parsers: Babel & TypeScript
  5. 7:11AST Explorer
  6. 9:23ESLint & Babel plugins
  7. 14:38Babel transforms
  8. 17:53jscodeshift for codemods
  9. 21:26Codemod use cases
  10. 23:36jscodeshift demo
  11. 33:17Conclusion
~/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.