← Back to Pull requests

Add ViewTransition and addTransitionType to the reference indexes #8673

Merged
BIGSUS24 merged 2 files (2 lines) on Sep 29, 2026 15:39 UTC
View on GitHub
BIGSUS24 BIGSUS24 commented on Sep 25, 2026 20:48 UTC
Author

<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](/reference/react/components) |
| addTransitionType | ✅ | ✅ | ❌ missing from [Built-in React APIs](/reference/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

  • Neither page carries a <Canary> or <Experimental> badge, and the [React 19.3 post](/blog/2026/09/09/react-19-3) says View Transitions are "stable and ready to use" — so these belong in the stable indexes.

  • Both paths match sidebarReference.json exactly.

  • useOptimistic is a third instance of this same gap on the Hooks page, but that one is already covered by #8571, #8584 and #8625, so it's left out of this PR.
  • 🤖 Generated with Claude Code

    Diff: 2 lines (+2 / -0) across 2 files Reviewer: eps1lon Review duration: 5451m
    All Vouch review confidence checks passed
    Residual risk 0.02 = Change Risk (0.11) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.11 · 2 lines diff across 2 files
    0.11
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 1 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.066
    Real PR Conversation Timeline
    4 items
    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Sep 25, 2026 20:49 UTC
    Reviewer

    <!-- ccr-overview-v2 -->

    Copilot review overview

    🟢 Approval recommended

    No unresolved review issues were identified.

    Review effort: Lite
    Findings: None

    <details>
    <summary><strong>What changed in this PR</strong></summary>

    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. |
    </details>

    ---

    💡 <a href="/reactjs/react.dev/new/main?filename=.github/skills/code-review/SKILL.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add a code-review agent skill</a> or configure MCP servers for context-aware, tailored reviews. <a href="https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn more in the docs.</a>

    github-actions[bot] github-actions[bot] commented on Sep 25, 2026 20:50 UTC
    Bot

    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! 🙌<!-- __NEXTJS_BUNDLE_react-dev -->
    </details>
    <!-- Sticky Pull Request Commentnext-bundle-analysis -->

    eps1lon eps1lon commented on Sep 29, 2026 15:39 UTC
    Reviewer

    Thank you

    Reviewers
    Assignees
    BIGSUS24 BIGSUS24
    Labels
    risk: low confidence: 90.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 11% (LOW) · Higher = larger blast radius
    11%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.6% · Lower = rushed or shallow review
    90.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2% · Safe to merge
    2%