Migrating old-style JavaScript code to ES6
2017-12-28 | #es6 #javascript #refactoring #webpack
Recently (at work) I had to migrate a medium-sized JavaScript codebase (20KLOC) to ES6. We wanted to migrate to take advantage of the new features such as arrow functions, destructuring, and classes (there are a bunch more!). Additionally, I was tasked with introducing eslint and prettier to improve the quality of our code a bit more. Before diving into the migration process, first I’d like to give some context on the state of the application.
