~/talk

Master the art of the AST and take control of your JS

Talkat Full Stack Fest 2017 · 2017-09-04..09-08· [javascript, developer-experience]
slides:none on file

Shows exact code changes and tools: parses JS into ASTs with Babel/Typescript/Rollup/ESLint, uses AST Explorer to find node types like MemberExpression or DebuggerStatement, implements an ESLint rule to catch globals piggybacking on window.property, writes a Babel plugin that removes debugger statements, and runs jscodeshift codemods to convert thousands of ES5 files to ES6 (var → let/const) while preserving formatting and diffs so the transformations actually work.

AI-written summary · about

  1. 0:00Start
  2. 0:19Javascript Fatigue
  3. 3:57What Are Abstract Syntax Trees
  4. 4:39Variable Declaration
  5. 6:04Par Step
  6. 8:07Writing Your Own Es Lint Rule
  7. 8:20Code Piggybacking
  8. 12:51The Visitor Pattern
  9. 14:03Debugger Statement
  10. 15:46The Generating Code Step
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.