Concurrent rendering mental model
“Concurrent React” does not mean React runs your component code on several JavaScript threads at once.
The practical model is:
React can prepare some renders with lower priority, interrupt them, abandon obsolete work, and commit only the result that matters.
Render and commit are different phases
The critical rule is that rendering is preparation; commit is the externally visible result.
Rendering must be pure
Bad:
function Invoice({ invoice }) {
localStorage.setItem('lastInvoice', invoice.id);
return <h1>{invoice.number}</h1>;
}
React might run that component while preparing work that never commits. External writes, subscriptions, analytics, DOM mutation, and network mutation do not belong in render.
Good:
function Invoice({ invoice }) {
return <h1>{invoice.number}</h1>;
}
Then put external work in event/Action/Effect logic according to why it happens.
Priority is a UX decision
Transitions and deferred values let you express this priority relationship.
Interruption
Concurrency improves responsiveness because urgent interaction does not need to wait for every lower-priority render attempt to finish.
Obsolete intermediate UI does not need to commit
Suppose the user selects filters A → B → C quickly.
The goal is not to preserve every intermediate frame. The goal is to keep the UI responsive and eventually commit the latest valid result.
Each render still has an isolated snapshot
Concurrency does not make state variables mutate under a running render.
React may prepare those renders at different times, but each render remains conceptually pure and snapshot-based.
Concurrency is not parallel JavaScript execution
A Transition does not create thread 1 for input and thread 2 for a chart. React still uses JavaScript's execution environment and scheduler; platform tools such as Web Workers are separate mechanisms for actual off-main-thread computation.
How the concurrency APIs fit together
useTransition
const [isPending, startTransition] = useTransition();
startTransition(() => {
setPage(nextPage);
});
useDeferredValue
const deferredQuery = useDeferredValue(query);
Suspense
A lower-priority render can suspend while React preserves useful already-revealed content until the new result is ready.
lazy adds code readiness
A lazy component may suspend because its module has not loaded yet. That gives React another reason a background render may not be ready to commit.
Concurrency + Suspense coordinates that delay without requiring every navigation to destroy the current page.
Effects belong to committed UI
A background render that never commits should not synchronize external systems.
If Suspense hides already visible content, layout Effect cleanup/re-setup follows the visible committed layout lifecycle.
Strict Mode teaches the same design discipline
Strict Mode development checks can expose assumptions such as “render happens exactly once” or “Effect setup happens exactly once.”
Do not treat Strict Mode's development behavior as a literal production scheduler simulation. The design lesson is that code must remain correct when React renders, discards, retries, or replays work before commit.
Priority APIs are not timing contracts
Do not write logic that depends on “Transition starts after X ms” or “deferred value always lags by 300ms.” These APIs express priority, not fixed timing.
React may complete lower-priority work almost immediately on a fast device.
Responsive scheduling does not remove CPU cost
If a list renders 50,000 DOM nodes, consider architecture and performance work such as virtualization, pagination, better data structures, component boundaries, memoization where justified, Compiler optimization where applicable, or moving non-render CPU work off the main thread.
Data consistency is a separate responsibility
React scheduling does not automatically solve stale network responses, optimistic conflicts, cache invalidation, transaction semantics, authorization changes, or broken external-store snapshots.
React decides when rendering work is urgent. Your data architecture decides which data is valid.
Complete search flow
const [query, setQuery] = useState('');
const deferredQuery = useDeferredValue(query);
Suspense can keep stale deferred results visible if new data is not ready.
Complete navigation flow
startTransition(() => {
setRoute(nextRoute);
});
Senior design rule
Concurrency is most useful when architecture already separates urgent interaction state from expensive derived presentation.
Common mistakes
- side effects during render;
- interpreting every abandoned render as a bug;
- using concurrency to hide poor state ownership;
- assuming old UI is always safe to preserve;
- treating priority APIs as request-ordering or timing tools.
Debugging concurrency
Ask:
- Which state is urgent?
- Which update is a Transition?
- Which value is deferred?
- Which subtree is expensive?
- Does it suspend?
- Which boundary handles that suspension?
- Can render work be interrupted safely?
- Are there render side effects?
- Is stale UI acceptable?
- Is the real bottleneck render cost, network, computation, or DOM volume?
Exercise
Build an analytics explorer with controlled search input, a large result list, lazy chart, Transition tab switch, deferred search value, and Suspense boundaries. Instrument renders and identify which attempts commit, which can be interrupted, and which UI is allowed to stay stale.
Interview questions
Beginner: Does concurrent rendering mean React runs components on multiple threads?
Intermediate: Why must render functions remain pure if React can interrupt or abandon work?
Senior: Explain how urgent state, Transition updates, deferred values, Suspense, code splitting, and commit semantics interact during slow navigation with continued user input.
Summary
Concurrency means prioritized, interruptible rendering—not multithreaded component execution.
References
- https://react.dev/reference/react/useTransition
- https://react.dev/reference/react/startTransition
- https://react.dev/reference/react/useDeferredValue
- https://react.dev/reference/react/Suspense
- https://react.dev/reference/react/lazy
Next
Next, move from client concurrency into React DOM, portals, hydration, SSR, streaming, and server rendering.