React Render, Commit, and Reconciliation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core React rendering concepts, including the render and commit phases, re-render triggers, and reconciliation rules.

7 Terms

1
New cards

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.

2
New cards

Commit

The phase in which React applies the minimum set of DOM changes identified during the render phase.

3
New cards

Effects

Operations that run after the commit phase, enabling useEffect to safely read the DOM.

4
New cards

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.

5
New cards

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.

6
New cards

Reconciliation

The process where React compares two trees by matching elements according to their type and position.

7
New cards

Same type in the same position

A reconciliation scenario where React preserves the component instance and its state, updating only what changed.