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.
In more detail
React defines 31 lanes. SyncLane is for urgent discrete input such as clicks, DefaultLane for normal updates and transition lanes for work wrapped in startTransition. Picking the lowest set bit finds the most urgent pending work. Lanes are internal; you choose them indirectly by how you trigger updates.
Related terms
- bitmask — A number used as a row of on/off switches, where each binary digit (bit) stands for one flag.
- concurrent rendering — React ability to prepare several versions of the UI at once and to pause, resume or abandon rendering work so urgent updates are handled first.
- transition — A React state update marked as not urgent, which React may interrupt or delay so urgent input stays responsive.
- scheduler — A component that decides which piece of pending work runs next and when, based on priorities.
Taught in
- React Fiber Architecture: Work Units, Priority And Commits — React 19 & Modern Component Architecture
- 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