Refactoring is part of the process of maintaining an application, but large scale refactoring that are more complicated than a find and replace are time consuming.
Codemods are a tool to refactor code by manipulating the abstract syntax tree (AST). In this talk I'll teach you what ASTs are, why we use ASTs in tools like Babel and eslint, and how to write a codemod that manipulates an AST.
YOU MAY ALSO LIKE:
- Testing Vue.js Components (SkillsCast recorded in February 2018)
- Damjan Vujnovic's Angular Workshop (in London on 3rd - 5th July 2019)
- London TensorFlow.js (in London on 20th June 2019)
- Keynote by Bruce Lawson on How To Make Loveliness: an HTML Treasure Hunt (in London on 24th June 2019)
- Frontend Series (SkillsCast recorded in June 2019)
- Keynote: Tales of the Obsession of Unfinished Projects (SkillsCast recorded in May 2019)