-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Manager: Upgrade to react v19 for manager UI & Addons (SPIKE)
#32406
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: next
Are you sure you want to change the base?
Changes from 1 commit
cde5482
f59c39c
757824e
6d6597d
8aa0d9e
80ccafd
2dd713b
95299aa
12b8f81
6e171ec
cd348a9
7ec96aa
87bc2ae
e7fdcbb
5fc6a92
3844821
d2c4a66
bb2261f
f11d006
5405f71
11647e6
75ab041
5023b5b
125c779
8e0f893
d1f8b43
9900a33
d80572d
8218553
9fe2f8f
afb42a9
6c2c218
be84275
d7d14c4
6fb36b1
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 |
|---|---|---|
|
|
@@ -53,8 +53,8 @@ | |
| "devDependencies": { | ||
| "@neoconfetti/react": "^1.0.0", | ||
| "@storybook/icons": "^1.4.0", | ||
| "react": "^18.2.0", | ||
| "react-dom": "^18.2.0", | ||
| "react": "^19.1.1", | ||
| "react-dom": "^19.1.1", | ||
|
Comment on lines
+56
to
+57
Contributor
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. 🧩 Analysis chainReact 19 bump LGTM; please verify deduped versions across the workspace. Ensure all packages resolve to a single React/React DOM (19.x) to avoid multiple React copies at runtime. Run: 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "All declared react/react-dom versions:"
rg -nP --glob 'package.json' '"react(?:-dom)?":\s*"[^"]+"'
echo
echo "Any non-19 or non-workspace declarations (should be empty):"
rg -nP --glob 'package.json' '"react(?:-dom)?":\s*"(?!\^?19|workspace:)[^"]+"' || trueLength of output: 4380 React 19 bump — fix remaining non-19 package.json entries These files still declare React/React‑DOM outside 19.x; update them to ^19.1.1 (or use workspace:) so the workspace resolves a single React/React‑DOM:
🤖 Prompt for AI Agents |
||
| "react-joyride": "^2.8.2", | ||
| "typescript": "^5.8.3" | ||
| }, | ||
|
|
||
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.
🧩 Analysis chain
React 19 devDeps: verify ecosystem compatibility (esp. Testing Library).
Looks fine, but please confirm:
🌐 Web query:
💡 Result:
Short answer: No — v14 does not officially support React 19. v14's peerDependencies target React 18 (so installing with React 19 will produce a peer-dep conflict). [1][2]
Recommendation: upgrade @testing-library/react to a version that adds React 19 support (projects migrating to React 19 report using later RTL releases, e.g. v16.x in practice). [3]
Sources:
🌐 Web query:
💡 Result:
Yes — react-resize-detector v12 declares React ^18.0.0 || ^19.0.0 as a peer dependency (e.g. v12.0.2 package.json). [1]
Sources
Action: bump @testing-library/react to a React‑19‑compatible release; react-resize-detector v12 is OK.
🤖 Prompt for AI Agents