~/talk

Elegant React with ES6 (and a bit of ES7)

Talkat React Rally 2015 · 2015-08-24..08-25· [react, javascript]
slides:none on file

Shows concrete ES6/ES7 moves: swap vars for let and const to avoid hoisting bugs, convert require/exports to ES6 modules with hoisted imports and working circular deps, replace React.createClass with ES6 classes plus static prop types, use arrow functions for auto-binding and no arguments, apply destructuring and spread/rest to cut updateState to three lines, use decorators as shorthand for higher‑order components, and run everything today with Babel stage zero (ego boost 5000 example included).

AI-written summary · about

  1. 0:00Start
  2. 7:14MODULES
  3. 15:29DESTRUCTURING
  4. 17:15SPREAD & REST
  5. 19:49ARROW FUNCTION
  6. 22:36Class level syntactic sugar for higher-order functions
~/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.