0
Challenge · 03React Core

Components

Coreused in ~100% of apps

Components are the LEGO bricks of React. Master the two rules and the rest of React is composition.

Core idea. A component is a function that takes props and returns JSX; it must be named with a capital letter and be a pure function of its inputs.
Playground, this isn't a screenshot
Live demointeractive

Aria Patel

Just shipped my first React component!

↑ play a little first, then dig in