Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 01

The rendering model

What a component is to React: a function from props and state to elements, what JSX compiles to, the render and commit phases, why rendering must be pure, and how hooks attach state to a component.
  1. 010What does JSX compile to, and what is a React element?medium
  2. 020What happens between a state update and the screen changing?Coremedium
  3. 030Why must rendering be pure, and how does Strict Mode catch impure components?medium
  4. 040Why can't hooks be called conditionally?Coremedium
  5. 050When does a React component re-render?Coremedium