Skip to content

Add ViewTransition and addTransitionType to the reference indexes - #8673

Open
BIGSUS24 wants to merge 1 commit into
reactjs:mainfrom
BIGSUS24:docs/reference-index-viewtransition
Open

BIGSUS24 wants to merge 1 commit into
reactjs:mainfrom
BIGSUS24:docs/reference-index-viewtransition

Conversation

@BIGSUS24

Copy link
Copy Markdown

<ViewTransition> and addTransitionType both became stable in React 19.3, and both have reference pages and sidebar entries — but neither is listed on the overview page it belongs to.

API Reference page Sidebar Overview page
<ViewTransition> ✅ ✅ ❌ missing from Built-in React Components
addTransitionType ✅ ✅ ❌ missing from Built-in React APIs

The gap is visible next to their siblings: components.md already lists <Activity>, which went stable in the same release, and apis.md already lists cache, cacheSignal and captureOwnerStack.

CONTRIBUTING.md says the API Reference "is intended to be exhaustive", and these overview pages are where people browse to find out what exists. Right now you can only reach either API from the sidebar or from a cross-link on a neighbouring page.

The entries

* [`<ViewTransition>`](/reference/react/ViewTransition) lets you animate a component tree with Transitions and Suspense.
* [`addTransitionType`](/reference/react/addTransitionType) lets you specify the cause of a Transition. Used with [`startTransition`](/reference/react/startTransition) and [`<ViewTransition>`.](/reference/react/ViewTransition)

Both descriptions are taken from each page's own <Intro>. "Transition" is capitalized per the style guide's "Always capitalize React concepts such as Hooks, Effects, and Transitions". addTransitionType is placed directly after startTransition since it's called alongside it.

Checks

🤖 Generated with Claude Code

Both became stable in React 19.3 and both have reference pages and
sidebar entries, but neither is listed on its overview page:

- `<ViewTransition>` is missing from Built-in React Components, which
  already lists its 19.3 sibling `<Activity>`.
- `addTransitionType` is missing from Built-in React APIs, which
  already lists `cache`, `cacheSignal` and `captureOwnerStack`.

CONTRIBUTING.md says the API Reference "is intended to be exhaustive",
so a reader browsing either overview page currently can't discover
either API.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 25, 2026 20:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Adds missing stable React API entries to the reference overview pages.

Changes:

  • Adds <ViewTransition> to Built-in React Components.
  • Adds addTransitionType to Built-in React APIs.
File Changes
src/​content/​reference/​react/​components.md Adds the <ViewTransition> overview entry.
src/​content/​reference/​react/​apis.md Adds the addTransitionType overview entry.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — 2d7be9c4 Deployed Sep 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants