Overview of React
React is a library for building user interfaces from components. The R in MERN. You describe UI as a function of state; React updates the DOM efficiently.
- Components return JSX (HTML-like syntax).
- One-way data flow: props down, events up.
- Hooks add state and effects to function components.
After you read this chapter, use Write (when available) and Quiz on this page to lock it in.