Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Refactor JavaScript with JavaScript on a Massive Scale

JavaScript Conferences by GitNation via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to tackle large-scale JavaScript refactoring in this 28-minute conference talk from AmsterdamJS December 2018 Meetup. Learn about codemods, powerful tools for automated code modifications, as the speaker shares their experience of unifying React component initial state setting across thousands of files. Explore the concept of Abstract Syntax Trees (AST) and how to leverage them for efficient refactoring. Gain insights into the process of creating a transformation that affected around 100,000 lines of code, including testing strategies and potential challenges. Ideal for developers looking to enhance their refactoring skills and streamline large-scale codebase modifications.

Syllabus

Intro
Who am I
What are code mods
How do you like refactoring
Issues with refactoring
React
Abstract syntax tree
AST Explorer
Kersjes Codeshift
My use case
Cleaning up constructors
Testing the transformation
Pain points
Resources

Taught by

JavaScript Conferences by GitNation

Reviews

Start your review of How to Refactor JavaScript with JavaScript on a Massive Scale

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.