课程: React: Creating and Hosting a Full-Stack Site (2022)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
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.…
内容
-
-
-
Why React?3 分钟 27 秒
-
(已锁定)
Setting up a React project5 分钟 34 秒
-
(已锁定)
Creating the app component4 分钟 3 秒
-
(已锁定)
Creating your blog pages10 分钟 1 秒
-
(已锁定)
Using React Router links5 分钟 36 秒
-
(已锁定)
URL parameters with React Router9 分钟 29 秒
-
(已锁定)
Creating and linking the articles list8 分钟 45 秒
-
(已锁定)
Making your articles list modular5 分钟 18 秒
-
(已锁定)
Creating a 404 page in React8 分钟 10 秒
-
-
-
-
-
-
-