Adding React and TypeScript

Continuing from the last lesson, we are going to add both React and TypeScript to our project in this lesson. We'll also create the root React component as well.

Adding React #

We can install React into our project by running the following command in the terminal:

npm install react react-dom

This installs the core React library as well the React library for interacting with the browser.

Get hands-on with 1200+ tech skills courses.