Function Components
A function component receives props and returns JSX. Name components in PascalCase.
- export default function App() { return
Hi
; } - Keep components small and focused.
- Extract repeated UI into child components.
After you read this chapter, use Write (when available) and Quiz on this page to lock it in.