Back to course

React JS for Beginners

Lesson 3 of 5

Now learning

Components & Props

20 min

Lesson Content

A component is a function that returns JSX. Props pass data into that function. You will build a CourseCard that receives title, instructor, and rating, then reuse it for several courses without copying markup.