transition

A React state update marked as not urgent, which React may interrupt or delay so urgent input stays responsive.

In more detail

You mark updates as transitions with startTransition. React renders them in the background, shows the old UI in the meantime and throws the work away if newer state arrives. In React 19 a transition can wrap an async function, and the whole async operation counts as pending.

Related terms

Taught in

References