React

Introduction to React - What is a component in Rea...

20.

What is a component in React?

An independent and reusable piece of code.

An HTML element.

A CSS class.

A JavaScript object.