← React Intermediate Questions - Set 9 Q87

What are the differences between React components and HTML elements?

React Intermediate Questions - Set 9

Example

<div onClick={…} />      // real DOM node, className, style object
<Card onClick={…} />     // your function: props are whatever you define

What to notice

← Back to the question list