Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
https://embed-ssl.wistia.com/deliveries/89451f0ca313cb491aaa3b1ab9d2696e.jpg

lesson

How to Use ESLint to Create AST Rules With Babel TraversePractical Abstract Syntax Trees

Use ESLint to create the same linting rule for the code with less boilerplate

https://image.mux.com/4JTEqXcj25wjwi5OI01PglmPHiG1Sn8jwlrcPh7UD8nU/thumbnail.png?undefined

lesson

How to Ensure Codebase is Up to Date With Linting RulesPractical Abstract Syntax Trees

Implement a linting rule to prevent the code we just transformed from being reintroduced in the future

https://embed-ssl.wistia.com/deliveries/8304396c1d4307e403127604a65e400d.jpg

lesson

How to Create Codemods Using jscodeshiftPractical Abstract Syntax Trees

Using jscodeshift to make the same code transformations with less boilerplate

https://image.mux.com/iWgS5eZnMbHh8afHNmskAGqp4aszS9AKkHXxWOuYtcA/thumbnail.png?undefined

lesson

How to Add a Component and Update an ASTPractical Abstract Syntax Trees

Introduce a shared Button component to replace all existing button elements

https://embed-ssl.wistia.com/deliveries/1fa1f6788cf32c342d0cddd604dbf797.jpg

lesson

Traversing an AST With Babel TraversePractical Abstract Syntax Trees

Programmatically traverse an AST and visit arbitrary nodes

https://embed-ssl.wistia.com/deliveries/d2ee78943b5761a284dfc4194efb2db9.jpg

lesson

How to Generate a JavaScript AST With Babel PluginsPractical Abstract Syntax Trees

Exploring tools to convert (or parse) JavaScript into a real AST

https://image.mux.com/8WNpWEg9vDpQWOxhrTQGP1GgQ64RKq0201k4iGerQIaFU/thumbnail.png?undefined

lesson

The Best JavaScript AST Tools - ESLint, Babel, Terser, and MorePractical Abstract Syntax Trees

An overview of the tooling available in the web frontend (JavaScript) ecosystem that rely on ASTs

https://image.mux.com/PdoqBTbrwuQhXoUj36wxmcjDRs3coNLIusEYBGn6SJc/thumbnail.png?undefined

lesson

How to View Abstract Syntax Tree Code With AST ExplorerPractical Abstract Syntax Trees

Looking at an example code snippet and how it relates to the resulting AST