ipi.
← React Field Guide

Concept 3 of 11

Components

✦ Tap any highlighted term to learn more

A React is a that returns . That's it. The can do anything — fetch data, calculate values, store — but it must return something that describes the UI.

names must start with a ctal letter. This is not a style preference — it is how React tells the difference between a built-in tag like <div> and a custom like <Button>. Lowercase names are treated as tags.

can other . You nest them exactly like tags — just use the name as the tag. This is how you build complex UIs out of small, focused pieces.

A good does one thing. If you find a doing too much — handling three kinds of , five different sections — that is a signal to break it into smaller .