~/talk

React + ES.next = ♥

Talkat React Conf 2017 · on Monday, 2017-03-13· [javascript, react]
slides:none on file

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

  1. 0:00Start
  2. 8:46Named parameters!
  3. 17:05Arrow function works how you would expect!
  4. 28:48Synchronous control flow!
~/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.