-
-
Notifications
You must be signed in to change notification settings - Fork 8
chore(deps): bump react from 19.2.4 to 19.2.5 in /docs #330
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,8 +28,8 @@ | |
| "clsx": "^2.0.0", | ||
| "geist": "^1.7.0", | ||
| "prism-react-renderer": "^2.3.0", | ||
| "react": "19.2.4", | ||
| "react": "19.2.5", | ||
| "react-dom": "19.2.4" | ||
|
Check warning on line 32 in docs/package.json
|
||
|
Comment on lines
+31
to
32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 This PR bumps Extended reasoning...What the bug is and how it manifests
The specific code path that triggers it In "react": "19.2.5",
"react-dom": "19.2.4"The lock file confirms the mismatch is real and was resolved: Why existing code doesn't prevent it Dependabot only bumped the What the impact would be While this is a docs-only Docusaurus site and the react 19.2.5 change (RSC cycle protections) is unlikely to directly affect react-dom behavior, the version mismatch is a policy violation. In practice it may cause no visible issues on this patch bump, but it sets a precedent for version drift and could trigger warnings or subtle differences in future patch releases. How to fix it Update "react": "19.2.5",
"react-dom": "19.2.5"Then run Step-by-step proof
|
||
| }, | ||
| "devDependencies": { | ||
| "@docusaurus/module-type-aliases": "3.9.2", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
react-domnot bumped alongsidereactreactandreact-domare tightly coupled and must always be at the same version — the React team publishes them together. This PR bumpsreactto 19.2.5 but leavesreact-dompinned at 19.2.4, creating a version mismatch. While the lockfile resolvesreact-dom@19.2.4(react@19.2.5)and may work at the patch level, this is contrary to React's own guidance and could cause subtle runtime issues (e.g. mismatched internal shared state, concurrent mode behavior, event delegation differences).Prompt To Fix With AI