The what, why, and how of the new features in JavaScript
Kent C. Dodds
Utah
1 wife, 3 kids
PayPal, Inc.
@kentcdodds
git clone https://github.com/kentcdodds/es6-workshop.git
cd es6-workshop
yarn run setup
yarn run autofill-email YOUR_EMAIL@DOMAIN.COM
Open up the project in your favorite editor
If you don't have `yarn` installed, install it
If you don't want to, you can just run `npm run setup` instead
Let's start here
Resources
Are from an older version of this workshop
before I had the quizzes in the repo.
I'm leaving them here because they may be useful to someone :)
Block-scoped binding constructs
Super awesome upgrades to string composition
Some weird wizardry...
Some handy new helpers and such
Pulling variables out of objects and arrays
Language-level support for module definitions
Learn More: http://kcd.im/es6-modules-repo
Language-level support for module definitions
Defaults & Rest
...apply me
Syntactic sugar and lexical binding
Improvements over prototype for OO programming
Solution to the "unique items in an array" problem
Like objects + non-string keys
Like objects + non-string keys
source of never-ending jokes
not in ES7 (that's not a thing) :)
git clone https://github.com/kentcdodds/es6-todomvc.git
cd es6-todomvc
npm run setup:workshop
Open http://localhost:8080