Skip to content

Commit 2d7be9c

Browse files
BIGSUS24claude
andcommitted
Add ViewTransition and addTransitionType to the reference indexes
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>
1 parent 44b0b5f commit 2d7be9c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/content/reference/react/apis.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ In addition to [Hooks](/reference/react/hooks) and [Components](/reference/react
1414
* [`lazy`](/reference/react/lazy) lets you defer loading a component's code until it's rendered for the first time.
1515
* [`memo`](/reference/react/memo) lets your component skip re-renders with same props. Used with [`useMemo`](/reference/react/useMemo) and [`useCallback`.](/reference/react/useCallback)
1616
* [`startTransition`](/reference/react/startTransition) lets you mark a state update as non-urgent. Similar to [`useTransition`.](/reference/react/useTransition)
17+
* [`addTransitionType`](/reference/react/addTransitionType) lets you specify the cause of a Transition. Used with [`startTransition`](/reference/react/startTransition) and [`<ViewTransition>`.](/reference/react/ViewTransition)
1718
* [`act`](/reference/react/act) lets you wrap renders and interactions in tests to ensure updates have processed before making assertions.
1819
* [`cache`](/reference/react/cache) lets you cache the result of a data fetch or computation.
1920
* [`cacheSignal`](/reference/react/cacheSignal) lets you know when the `cache()` lifetime is over.

‎src/content/reference/react/components.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ React exposes a few built-in components that you can use in your JSX.
1717
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
1818
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
1919
* [`<Activity>`](/reference/react/Activity) lets you hide and restore the UI and internal state of its children.
20+
* [`<ViewTransition>`](/reference/react/ViewTransition) lets you animate a component tree with Transitions and Suspense.
2021

2122
---
2223

0 commit comments

Comments
 (0)