← Back to all 2018

What's a React Component?

React is all about Components. But what is a component? React Components are just functions that return React Elements. What are React Elements? They're anything in JSX tags: h1, div, section, etc. Use this codesandbox to jump right in with your browser: https://codesandbox.io/s/react-holiday-day-1-6h1gu

Prev Next