Join Carl Peaslee for an in-depth discussion in this video Installing global dependencies, part of React: ES6, ES2016, and Beyond.
- [Instructor] In this course, there are three different applications you're going to need to have installed globally on your machine. The first should be node, so that you can access npm from the command line. Once you have node or npm, which you can download from the node website. You're going to use npm install -g, to say install this globally. And you're going to get create-react-app. Create react app is what we're going to be using to boot strap our application. So, we'll install that. The next application we need to make sure we have installed globally is something called yarn.
Now, if you're using a windows machine, some people have reported having a difficult time installing yarn. In that case, you can just use npm. Yarn is just an updated version of npm, but if you need to use just npm, that's okay too. Remember, each time I say, yarn add, you can instead say npm install dash s. Or when I say yarn start, you can do npm start. In most cases, they're interchangeable and ill give you directions on how to use the npm command instead.
- Using const and let
- Importing and exporting modules
- Arrow functions
- Destructing assignments
- Arguments and template literals
- Extended parameter handling with the spread operator
- Generating custom styles
- Classes, getters and setters