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)
- WebAssembly Deep Dive with Brian Sletten (in London on 21st - 22nd November 2019)
- Solandra Hands-On Tutorial & Emergent Behaviour In Insects (in London on 28th October 2019)
- Free Code Camp - October (in London on 29th October 2019)
- RS232 Board for the Pi (SkillsCast recorded in September 2019)