From the course: React for Web Designers

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Inspecting your starting React code

Inspecting your starting React code - React.js Tutorial

From the course: React for Web Designers

Inspecting your starting React code

- [Instructor] We've gone through the steps of converting a mock-up into React components a couple times already. So this time, we're going to start with a fair amount of code already written so we can skip ahead to some of the newer aspects that we haven't seen before. Let's take a little tour of what we have. First of all, I want to make sure you've dropped your Work in Progress folder into PrePros. It should probably look something like this. And you'll just want to check the configuration of the hotel.js file to make sure it's auto-compiling, with source maps if you want them, and Babel, of course. And make sure that the hotel-dist file is not having anything happen to it because we don't need a second reprocessed version of this since hotel.js will be creating it for us. Switching over to my editor, I have the index.html file open. Let's scroll down all the way to my script tags. Of course I have my React tags down here and my hotel-dist JavaScript file. So I'm loading the…

Contents