How to Learn ES6

01-23 00:00
  1. JavaScript
  2. code

We ran a survey at about the time the standard became official in June 2015 to see how many people were using ES6. Nearly half of respondents already were. I suspect the number will be much higher when we run the survey again. ES6 includes lots of great enhancements that will make you & your team more effective.

If you haven’t learned ES6 yet, the time is now.
Common Excuses
  • “I’m waiting for browser support.” Babel lets you transpile most ES6 code so it will work in browsers dating back to IE8. Don’t get left behind.
  • “I don’t want to introduce a compile step.” If you’re building any non-trivial app, you should be compiling anyway, for many reasons.
  • “I’m a beginner and learning ES6 while I’m trying to learn JavaScript sounds hard.” I hear you, but ES6 is JavaScript. It’s the current, official JavaScript standard, and all the new books and tutorials you’ll want to read are going to use ES6 examples. In the meantime, I’m working on some beginner resources to teach JavaScript in ES6 from the start. Watch this space.
I’m Ready to Learn!
  1. Copy and paste blog & tutorial examples into the Babel REPL to see how Babel compiles them to ES5.
  2. Watch ES6: The ROAD MAP webcast recording (packed with interactive examples)
  3. Read How to Use ES6 for Universal JavaScript Apps.
  4. Read “Understanding ES6” by Nicholas Zakas
  5. Read “Exploring ES6” & “Setting Up ES6” by Axel Rauschmayer
  6. Read “You Don’t Know JS: ES6 & Beyond” by Kyle Simpson
  7. Learn how to build real apps in ES6 with “Learn Universal JavaScript App Development: One App for Mobile, Web, & Servers with Node & React” by Eric Elliott (that’s me).
  8. Keep reading JavaScript Scene for lots of example code.

P.S. I believe that the `class` should be avoided in JavaScript. You’ll need to know the syntax because you’ll encounter it a lot, but I strongly encourage you to avoid using it yourself. Explore these resources to learn why:


Want to get a great job? Add CV