From 75ef18a9172e4c100b5d5650ae14c395c5c8ef42 Mon Sep 17 00:00:00 2001 From: Shivam S <152616194+BIGSUS24@users.noreply.github.com> Date: Tue, 29 Sep 2026 21:09:28 +0530 Subject: [PATCH 1/2] Add ViewTransition and addTransitionType to the reference indexes (#8673) Both became stable in React 19.3 and both have reference pages and sidebar entries, but neither is listed on its overview page: - `` is missing from Built-in React Components, which already lists its 19.3 sibling ``. - `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) --- src/content/reference/react/apis.md | 1 + src/content/reference/react/components.md | 1 + 2 files changed, 2 insertions(+) diff --git a/src/content/reference/react/apis.md b/src/content/reference/react/apis.md index 6aa91ed0d..1e6a8a644 100644 --- a/src/content/reference/react/apis.md +++ b/src/content/reference/react/apis.md @@ -14,6 +14,7 @@ In addition to [Hooks](/reference/react/hooks) and [Components](/reference/react * [`lazy`](/reference/react/lazy) lets you defer loading a component's code until it's rendered for the first time. * [`memo`](/reference/react/memo) lets your component skip re-renders with same props. Used with [`useMemo`](/reference/react/useMemo) and [`useCallback`.](/reference/react/useCallback) * [`startTransition`](/reference/react/startTransition) lets you mark a state update as non-urgent. Similar to [`useTransition`.](/reference/react/useTransition) +* [`addTransitionType`](/reference/react/addTransitionType) lets you specify the cause of a Transition. Used with [`startTransition`](/reference/react/startTransition) and [``.](/reference/react/ViewTransition) * [`act`](/reference/react/act) lets you wrap renders and interactions in tests to ensure updates have processed before making assertions. * [`cache`](/reference/react/cache) lets you cache the result of a data fetch or computation. * [`cacheSignal`](/reference/react/cacheSignal) lets you know when the `cache()` lifetime is over. diff --git a/src/content/reference/react/components.md b/src/content/reference/react/components.md index 081f206c0..bd5a30112 100644 --- a/src/content/reference/react/components.md +++ b/src/content/reference/react/components.md @@ -17,6 +17,7 @@ React exposes a few built-in components that you can use in your JSX. * [``](/reference/react/Suspense) lets you display a fallback while the child components are loading. * [``](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early. * [``](/reference/react/Activity) lets you hide and restore the UI and internal state of its children. +* [``](/reference/react/ViewTransition) lets you animate a component tree with Transitions and Suspense. --- From 8c68ae8d2410abe59f351195780c6f8ea9f50904 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Fri, 2 Oct 2026 01:33:59 +0900 Subject: [PATCH 2/2] Use relative link, without domain, to Compiler docs (#8678) --- src/content/reference/react-compiler/directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react-compiler/directives.md b/src/content/reference/react-compiler/directives.md index 705d0f620..df0f053e8 100644 --- a/src/content/reference/react-compiler/directives.md +++ b/src/content/reference/react-compiler/directives.md @@ -195,4 +195,4 @@ For specific issues with directives, see the troubleshooting sections in: * [`compilationMode`](/reference/react-compiler/compilationMode) - Configure how the compiler chooses what to optimize * [`Configuration`](/reference/react-compiler/configuration) - Full compiler configuration options -* [React Compiler documentation](https://react.dev/learn/react-compiler) - Getting started guide \ No newline at end of file +* [React Compiler documentation](/learn/react-compiler) - Getting started guide \ No newline at end of file