[Bug]: Code examples are not working with "Incompatible React versions" error.
Open
Nobody has claimed this yet.
bug: unconfirmed
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Summary
I have an error on all code examples on the site: blog, doc, etc.
Error
Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
- react: 19.3.0-canary-96fcba90-20260728
- react-dom: 19.3.0-canary-1724e9ce-20260729
Learn more: https://react.dev/warnings/version-mismatch
Page
https://react.dev/reference/react/ViewTransition#animating-an-element-on-enter
Details
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the reported ViewTransition documentation page and reproduce the failure in its code examples, checking whether the same mismatch appears across the blog and docs examples. Trace where the displayed React and react-dom versions are selected; done means the examples load without the incompatible-version error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100