From the course: React Hooks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Reviewing the project

Reviewing the project - React.js Tutorial

From the course: React Hooks

Start my 1-month free trial

Reviewing the project

- [Instructor] In the previous video, we looked at how we can use Create React App to generate a React project for us. So let's take a little look at what's going on here. So inside of our package.json file, we have react, and then we have some testing dependencies. In our index.js file, we have this serviceWorker that I'm actually going to delete, 'cause we don't need it. I'm going to delete kind of any evidence of a serviceWorker. I also wanted to point this out. So in recent versions of React, react.StrictMode has been a wrapper that you can use on components. The benefit of wrapping your component with react.StrictMode is it's going to give you warnings. It's going to give you opportunities to fix possible bugs before they happen. So if you're in violation of any React rules, you're going to find out about it. So the next thing I want to do here is let's open up our app.js file. So this is our app component, kind…

Contents