-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
update react and react-dom peerdeps to include v 19 #4513
base: master
Are you sure you want to change the base?
Conversation
I have been using semantic-ui-react (v3 beta) with react 19 for a good while without any issues. Can we please include that version in the react peer deps range so I can avoid having to do --legacy-peer-deps? I do not update the package version in this PR, but if you can do that and release a new version, that would be amazing. many thanks 🙏🏼
💖 Thanks for opening this pull request! 💖 Here is a list of things that will help get it across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4513 +/- ##
=======================================
Coverage 99.53% 99.53%
=======================================
Files 186 186
Lines 3463 3463
=======================================
Hits 3447 3447
Misses 16 16 ☔ View full report in Codecov by Sentry. |
seems like the Vercel deployment fails because of a too low nodejs version, not sure what you want to do about that. |
I'm confused on what the issue is here? Does this project need to be updated to use Node 22 or does workflow need to be updated to use Node 22 for Vercel? |
The actual issue that this PR solves is that the specified peer-deps does not allow for react 19. The issue with the deployment of this PR on Vercel seems to be about node.js versions, but I don't know, and I don't think it has anything to do with my PR. |
@GGAlanSmithee After doing some research, I believe that the issue is is that dependencies can cause the Node mismatch to be treated more strictly with Vercel. In this case, React 19 is supported by 18+. This is causing Vercel to say hey 16 is deprecated & the dependencies aren't supported by the Node version. The issue is most likely with there work flow. However you can override the workflow with
|
ok, understood. Do you want me to do that in this PR, given that it's not really related to what I want to change?
Not really sure what this means. As I understand semver and node |
do you know if there's anything actionable for me to do here to move this forward? Would be amazing to be able to use semantic-ui-react with react 19 out-of-the-box. |
I have been using semantic-ui-react (v3 beta) with react 19 for a good while without any issues. Can we please include that version in the react peer deps range so I can avoid having to do --legacy-peer-deps?
I do not update the package version in this PR, but if you can do that and release a new version, that would be amazing.
many thanks 🙏🏼