urgent update
A state change that users expect to see immediately, such as typed characters or a toggled checkbox.
In more detail
React processes urgent updates at high priority. Updates that can wait, such as filtering a big list, should be marked as transitions so they never delay urgent ones.
Related terms
- transition — A React state update marked as not urgent, which React may interrupt or delay so urgent input stays responsive.
- useTransition — The React hook that returns an isPending flag and a startTransition function for marking state updates as non-urgent transitions.
- lane — The internal React label for the priority of an update, stored as one bit in a number so many priorities can be combined and compared quickly.
Taught in
- Concurrent Mode: Interruptible Work And Lane Priority — React 19 & Modern Component Architecture
- useTransition: Non-Blocking State Updates for Fluid UI — React 19 & Modern Component Architecture