render

In React, calling a component to find out what it should display now; a re-render is any render after the first.

In more detail

A component re-renders when its state changes, when its parent re-renders, or when a context it reads changes. Rendering only produces elements; the page changes only if the commit finds differences. Many re-renders are cheap and harmless, so measure before optimising.

Related terms

Taught in

References