From the course: React: Creating and Hosting a Full-Stack Site
Schalten Sie den kompletten Kurs noch heute frei
Join today to access over 23,400 courses taught by industry experts.
Creating the app component
From the course: React: Creating and Hosting a Full-Stack Site
Creating the app component
- [Narrator] All right. So now that we've got a very basic react app up and running, the next thing that we're going to do is make a few changes to the app component, which currently is the only component in our react application. So if you open up app.js, what you're going to see is inside this app component, we have all of the JSX, right? That's the HTML like syntax that react uses to define interfaces defined for our application. And basically all that this is right now is the little spinning logo thing. That's line eight right here. We have this little message saying edit source slash app.js and save to reload, which is just the message that's displayed underneath it. And then we have a link that takes us to the react documentation. Now, none of this stuff is really relevant currently for our blog app that we want to build. So what I'm going to do is just delete everything here except for the surrounding app div.…
Inhalt
-
-
-
Why React?3m 27s
-
(Locked)
Setting up a React project5m 34s
-
(Locked)
Creating the app component4m 3s
-
(Locked)
Creating your blog pages10m 1s
-
(Locked)
Using React Router links5m 36s
-
(Locked)
URL parameters with React Router9m 29s
-
(Locked)
Creating and linking the articles list8m 45s
-
(Locked)
Making your articles list modular5m 18s
-
(Locked)
Creating a 404 page in React8m 10s
-
-
-
-
-
-
-