Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use resolved Canary version in captureOwnerStack docs #7659

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Feb 28, 2025

Preview: https://react-dev-git-fork-eps1lon-sandbox-fix-fbopensource.vercel.app/reference/react/captureOwnerStack

For unknown reasons, the inlined sandboxes will not resolve to the same version if use an NPM dist-tag. But when I use a hardcoded version, it can't find the module? The forks always work though.

supposed to fix

Error
Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
  - react:      19.1.0-canary-ebc22ef7-20250225
  - react-dom:  19.1.0-canary-22e39ea7-20250225
Learn more: https://react.dev/warnings/version-mismatch

Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 9:01am
react-dev ✅ Ready (Inspect) Visit Preview Feb 28, 2025 9:01am

Copy link

Size changes

📦 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! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants