React + ES.next = ♥
summary
Walkthrough of concrete ES.next changes applied to a real React migration at Eventbrite shows exact code before and after, including destructuring moved into function headers, the spread operator for immutable arrays and objects (notes stage‑3), concise arrow functions, and replacing callbacks with fetch + promises then async/await with regenerator/Babel. Examples include a promise‑wrapped sleep, promisified readFile, Promise.all parallel fetches, and a nine‑step repo that actually compiles and runs the refactored app so the patterns are reproducible.
AI-written summary · about
chapters (4)
- 0:00Start
- 8:46Named parameters!
- 17:05Arrow function works how you would expect!
- 28:48Synchronous control flow!
related talks
38mReact Native + ES.next = ♥︎
26mElegant React with ES6 (and a bit of ES7)
01h 22mA Browse Through ES2016
52mES2015: Using tomorrow's JavaScript today!
01h 00mJavaScript Futures—ES2018 and Beyond
54mJavaScript Essentials for Programming with React
01h 02mWant es.next Now? Traceur Your Way Back to ES5 and Feel the Harmony
52mWhat's New in JavaScript (ES 2020) - Part II
