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:
- Keynote by Léonie Watson: There's More to Performance than Meets the Eye (in London on 23rd April 2019)
- React & Redux Workshop with Damjan Vujnovic (in London on 12th - 14th June 2019)