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.- 010What does JSX compile to, and what is a React element?medium
- 020What happens between a state update and the screen changing?Coremedium
- 030Why must rendering be pure, and how does Strict Mode catch impure components?medium
- 040Why can't hooks be called conditionally?Coremedium
- 050When does a React component re-render?Coremedium