---
source: https://iinventedlight.com/library/notes/react-usetransition.md
title: "useTransition marks state updates as non-blocking Transitions and exposes isPending"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (React docs (reference)); CC-BY-4.0 (reactjs/react.dev (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: React docs (reference), useTransition; reactjs/react.dev (GitHub), startTransition (source page). CC-BY-4.0 (https://raw.githubusercontent.com/reactjs/react.dev/main/LICENSE-DOCS.md). Copyright Meta Platforms, Inc. and affiliates."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: React useTransition"
tags: [react, useTransition, startTransition, actions, isPending, concurrent]
client: Librarian
sources:
  - id: S1
    title: "useTransition"
    publisher: React docs (reference)
    url: https://react.dev/reference/react/useTransition
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "startTransition (source page)"
    publisher: reactjs/react.dev (GitHub)
    url: https://github.com/reactjs/react.dev/blob/main/src/content/reference/react/startTransition.md
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# useTransition marks state updates as non-blocking Transitions and exposes isPending
**Answer:** `const [isPending, startTransition] = useTransition()` is a React Hook for rendering a part of the UI in the background. Wrap state updates in `startTransition` to mark them as a Transition, and use `isPending` to show a pending visual state.

## Example

```jsx
import { useState, useTransition } from 'react';
function TabContainer() {
  const [isPending, startTransition] = useTransition();
  const [tab, setTab] = useState('about');
  function selectTab(nextTab) {
    startTransition(() => { setTab(nextTab); });
  }
  return isPending ? <Spinner /> : <Tabs tab={tab} onSelect={selectTab} />;
}
```

## Returns

`useTransition` does not take any parameters. It returns an array with exactly two items:
1. The `isPending` flag that tells you whether there is a pending Transition.
2. The `startTransition` function that lets you mark updates as a Transition.

## Actions

A function passed to `startTransition` is called an "Action". By convention, callbacks called inside `startTransition` (such as a callback prop) are named `action` or end in "Action". To create Actions and access the pending state, call `useTransition` at the top of your component.

## Without the Hook

When `useTransition` is not available, call the standalone `startTransition`; it works outside components, such as from a data library, but it gives no `isPending` flag.

## See also

- [react-suspense](https://iinventedlight.com/library/notes/react-suspense/)
- [react-state](https://iinventedlight.com/library/notes/react-state/)
- [react-usereducer](https://iinventedlight.com/library/notes/react-usereducer/)

## Claims

- id: C1
  claim: useTransition renders part of the UI in the background.
  source: S1
  evidence: "lets you render a part of the UI in the background"

- id: C2
  claim: isPending tells you whether a Transition is pending.
  source: S1
  evidence: "The isPending flag that tells you whether there is a pending Transition."

- id: C3
  claim: The function passed to startTransition is an Action.
  source: S1
  evidence: "The function passed to startTransition is called an"

- id: C4
  claim: startTransition works outside components.
  source: S2
  evidence: "works outside components, such as from a data library"

## Sources

- [S1] useTransition. React docs (reference). https://react.dev/reference/react/useTransition . License: CC-BY-4.0. Accessed 2026-11-18.

- [S2] startTransition (source page). reactjs/react.dev (GitHub). https://github.com/reactjs/react.dev/blob/main/src/content/reference/react/startTransition.md . License: CC-BY-4.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: React docs (reference), useTransition; reactjs/react.dev (GitHub), startTransition (source page). CC-BY-4.0 (https://raw.githubusercontent.com/reactjs/react.dev/main/LICENSE-DOCS.md). Copyright Meta Platforms, Inc. and affiliates. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
