1/6
Vocabulary flashcards covering core React rendering concepts, including the render and commit phases, re-render triggers, and reconciliation rules.
Render
A pure calculation phase in which React calls function components and receives a tree of elements (plain objects describing the UI) without changing anything on the screen yet.
Commit
The phase in which React applies the minimum set of DOM changes identified during the render phase.
Effects
Operations that run after the commit phase, enabling useEffect to safely read the DOM.
Re-render triggers
The three events that trigger a component re-render: a change in its own state, a re-render of its parent component, or a change in a context it reads.
Object.is
The comparison method React uses to verify if new state is set to the same value as the previous state, which usually skips the render.
Reconciliation
The process where React compares two trees by matching elements according to their type and position.
Same type in the same position
A reconciliation scenario where React preserves the component instance and its state, updating only what changed.