From the course: Building React and ASP.NET Core Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Designing the Trips page
From the course: Building React and ASP.NET Core Applications
Designing the Trips page
- [Instructor] We learned about the key React concepts. But to understand them better, let us go to Visual Code and create our first component and see how all these concepts are tied together. In here, go to the ClientApp folder, then src, components. Now in here, we can either use the components folder to put our JSX files, or we can create a separate folder for trips and then put all the files in there. So let us create a new folder in here, and let's name this folder Trip. Now inside here, let's create our first component named Trips.jsx or we can just leave it js, but let's use jsx. The first thing that we need to do in here is that we need to import the React and the Component from the React library. So for that we write in here import React, and then we import the Component from React. Next, let us define the Component name. The name is going to be export class Trips extends Component base class. Now inside…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
React key concepts3m 5s
-
(Locked)
Designing the Trips page10m 47s
-
(Locked)
Reading data from React10m 45s
-
(Locked)
Designing the Create page6m 4s
-
(Locked)
Adding new data from React9m 48s
-
(Locked)
Challenge: Updating data from React49s
-
(Locked)
Solution: Updating data from React14m 36s
-
(Locked)
Deleting data from React10m 11s
-
(Locked)
Handling errors in React6m 26s
-
-
-
-