reconciliation

The process where React compares the new tree of elements with the previous one and works out the smallest set of changes to the page.

In more detail

Reconciliation happens in the render phase and uses the diffing heuristics: elements of a different type are replaced, and keys identify list items. The result is applied to the DOM in the commit phase. The part of React that does this is called the reconciler; since React 16 it is built on Fiber.

Related terms

Taught in

References