Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.
-
What is
ES6?- It's the first major facelift for ECMAscript since 2009 (!!).
-
What is Transpilation and how does it relate to
ES6?- Transpilation (aka source-to-source compiling) is a way to translate the newest JS syntax into something browsers can use even if they are't ready for ES6. Resources like Babel below offer services to input new JS and get translated classic JS back, including JSX syntax for React. SWEET.
-
Looking at the ES6 Features link below, discuss one update from
ES5and if it seems useful/superfluous,- I'm excited about the string interpolation, and now I understand why I keep seeing "let' and "const" everywhere. Also I'm interested to learn more about how to implement classes. It seems straightforward but I'd imagine I'm missing something complicated. Can't tell what will be superfluous yet because my knowledge of JS in the first place is pretty surface level.