All examples in this book use the new JavaScript syntax ES6/ES2015. Newer browser and Node.js versions already support most of this syntax (at the time of this writing, import/export is not supported anywhere, except Babel). If we want to support older versions of browsers or Node.js, we will need to transpile your code to the older JavaScript version ES5 via a tool, such as Babel (https://babeljs.io/). In addition to transpiling, Babel also allows you to use JSX syntax (an extension of JavaScript used with React) and even the future JavaScript syntax, where the proposal is already finalized, but not implemented in any engines yet.
Running code examples
Setting up a new project
This section explains how to set up a complete...