Large-scale refactoring with codemods - London Node User Group 2018

Wednesday, 28 November 2018

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.

About me I'm a Vue core contributor, and software engineer at the BBC.