From the course: React Foundations by Pearson
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Learning objectives - React.js Tutorial
From the course: React Foundations by Pearson
Learning objectives
Okay, welcome to lesson two. In this lesson, we're going to see how to create class-based components. So first of all, I'll explain what a component is, and that'll be a good start. And then I'll go through the details of how to basically define a class that creates component. This will be a theme, we'll continue this into the next lesson as well, in lesson three, coming up later. We'll see how to create functional components, which is another way to do it. And at that point I'll compare and contrast the class-based approach and the functional approach. So that's the plan anyway, this lesson, how to create class-based components.
Contents
-
-
-
-
(Locked)
Learning objectives48s
-
(Locked)
The need for components3m 41s
-
(Locked)
Defining and using a class-based component9m 49s
-
(Locked)
Creating a more ambitious user interface7m 43s
-
(Locked)
Passing properties to a class-based component10m 12s
-
(Locked)
Lab: creating class-based components13m 43s
-
(Locked)
Lab solution: Creating class-based components20m 41s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-