First Component

We will create our first React Component and understand the usage of props in this lesson.

In our last lesson, we used ReactDom to insert a span into a div using the following code.

Get hands-on with 1400+ tech skills courses.