Skip to content

Fix React example version mismatch#44

Merged
tolgahan-arikan merged 1 commit into
masterfrom
fix-react-example-version-mismatch
Jun 16, 2026
Merged

Fix React example version mismatch#44
tolgahan-arikan merged 1 commit into
masterfrom
fix-react-example-version-mismatch

Conversation

@tolgahan-arikan

Copy link
Copy Markdown
Collaborator

Summary

  • Pin react and react-dom to the same exact version in all browser examples.
  • Refresh the lockfile so the examples resolve react-dom@19.2.7 with react@19.2.7.
  • Add a Dependabot react-runtime group so React runtime/type packages update together.
  • Extend check:package-versions to fail CI if browser examples drift back to mismatched or ranged React runtime versions.

Root cause

The deployed React example resolved react@19.2.7 with react-dom@19.2.6, which React rejects at startup. The app rendered a blank root and logged the React version mismatch error.

Validation

  • In-app Browser local repro before fix: blank page with react: 19.2.7 / react-dom: 19.2.6 console error.
  • In-app Browser local verification after fix: Wallet Demo renders and fresh console logs are empty.
  • pnpm check:package-versions
  • pnpm test
  • pnpm build
  • pnpm build:example
  • pnpm build:wagmi-example
  • pnpm build:trails-actions-example

@claude

claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@tolgahan-arikan tolgahan-arikan merged commit 8dd1d48 into master Jun 16, 2026
1 of 2 checks passed
@tolgahan-arikan tolgahan-arikan deleted the fix-react-example-version-mismatch branch June 16, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant