summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanth Ratna <sumanthratna@gmail.com>2026-10-27 06:16:01 +0200
committerGitHub <noreply@github.com>2026-10-26 21:16:01 -0700
commit6ec269328bc400712ee225a173a14b6b29128df7 (patch)
tree846642fb14bb9c2efcf88ee11447d3b85da0bb28
parent063bee94c3f4df8453406c830b0a7df0f2860278 (diff)
fix: recommend stable React 19.3 for view transitionsagent-skills-6ec269328bc400712ee225a173a14b6b29128df7
fix: recommend stable React 19.3 for view transitions
-rw-r--r--skills/react-view-transitions/AGENTS.md2
-rw-r--r--skills/react-view-transitions/SKILL.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/skills/react-view-transitions/AGENTS.md b/skills/react-view-transitions/AGENTS.md
index ad47782..5696dbc 100644
--- a/skills/react-view-transitions/AGENTS.md
+++ b/skills/react-view-transitions/AGENTS.md
@@ -44,7 +44,7 @@ Reserve directional slides for hierarchical navigation (list → detail) and ord
## Availability
- **Next.js:** Do **not** install `react@canary` — the App Router already bundles React canary internally. `ViewTransition` works out of the box. `npm ls react` may show a stable-looking version; this is expected.
-- **Without Next.js:** Install `react@canary react-dom@canary` (`ViewTransition` is not in stable React).
+- **Without Next.js:** Use stable `react` and `react-dom` 19.3 or newer (`ViewTransition` and `addTransitionType` became stable in React 19.3). Earlier stable React versions do not include these APIs.
- Browser support: Chromium 125+ (React needs the v2 object form of `startViewTransition`), Firefox 144+, Safari 18.2+. Graceful degradation on unsupported browsers.
---
diff --git a/skills/react-view-transitions/SKILL.md b/skills/react-view-transitions/SKILL.md
index eea9e89..665db73 100644
--- a/skills/react-view-transitions/SKILL.md
+++ b/skills/react-view-transitions/SKILL.md
@@ -43,7 +43,7 @@ Reserve directional slides for hierarchical navigation (list → detail) and ord
## Availability
- **Next.js:** Do **not** install `react@canary` — the App Router already bundles React canary internally. `ViewTransition` works out of the box. `npm ls react` may show a stable-looking version; this is expected.
-- **Without Next.js:** Install `react@canary react-dom@canary` (`ViewTransition` is not in stable React).
+- **Without Next.js:** Use stable `react` and `react-dom` 19.3 or newer (`ViewTransition` and `addTransitionType` became stable in React 19.3). Earlier stable React versions do not include these APIs.
- Browser support: Chromium 125+ (React needs the v2 object form of `startViewTransition`), Firefox 144+, Safari 18.2+. Graceful degradation on unsupported browsers.
---