cht8687 / React-ES5-To-ES6-Checklist

:blue_book:The missing manual of upgrading ES5 React to ES6+ :sparkles:
106 stars 6 forks source link

There is no “ES7” #4

Open gaearon opened 8 years ago

gaearon commented 8 years ago

The README suggests some syntax (e.g. class properties) is “ES7”. This is inaccurate.

If ES6 is ES2015, then ES7 is ES2016, but the only new things in ES2016 are exponentiation operator and Array.prototype.includes.

What you list as “ES7” are experimental language proposals that may or may not get into the language someday.

cht8687 commented 8 years ago

hi @gaearon, thank you so much for clarifying this. Much appreciated it. 👍 So what can we call for those 'ES7' examples which I listed? I remember in your react-dnd, you are listing some 'ES7' examples there as well. It could be great that you can give some suggestions here. We love the voice from the expert. Thank you for your work on React and Redux anyway, I am your fan. 😄

gaearon commented 8 years ago

Those need to be updated as well, I just haven’t had the time. You can call this “ES future proposals”

cht8687 commented 8 years ago

done.

quirinpa commented 8 years ago

Hm that is a shame, but maybe that's the preprocessor's job, anyway... Thank you, babel... And thanks for the info, gaearon