-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
React 19 #2783
React 19 #2783
Conversation
🦋 Changeset detectedLatest commit: b190eb3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
package.json
Outdated
@@ -46,7 +46,6 @@ | |||
"@typescript-eslint/parser": "^6.21.0", | |||
"@vitejs/plugin-react": "^4.2.1", | |||
"babel-plugin-add-module-exports": "^1.0.0", | |||
"canvas": "^2.11.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.
Completely unable to install this dep, we'll revisit this later
Currently both We could move |
no solutions ? |
This is a solution for react19 at the expense of dropping support for all other versions for what I understand. Is that correct? |
Yes, that is my understanding. That said, I've not tested this branch with React 18 |
7c435eb
to
b6e0524
Compare
b6e0524
to
02fde7e
Compare
Hi, is there an estimate of when this PR will be merged into the main branch? Our project kind of depends on this. Thanks in advance. |
@alexandernanberg is this updated to what's published in |
@alexandernanberg here's the branch where I'm pushing that. My idea is to ship both reconcilers, and dynamically use one or the other based on React version. Code there is the one included in this PR, but different structured because of that reason. However, when trying it out I get the following errors. Did you get those on your testing by any chance? Would you have the time to take a look at my branch? I'm planning to add you as co-author of it anyways :) Thanks in advance |
Yes, but cut a new
I don't remember exactly, but I did have some issues when trying to use the prod reconciler with dev react or vice versa, the prod bundles are slimmed down and don't include everything. The React packages use dynamic import/requires https://github.com/facebook/react/blob/main/packages/react-reconciler/npm/index.js I'll take a look at your branch when I have some time to spare! |
Will close this in favor of #2941 where I kept support for all the previous React versions too. @alexandernanberg thanks so much for posting this. It was very helpful. Added you as a co-author of the PR although I don't know your email to correctly add the commit message |
Cool, look forward to trying it out! Added my email to my GitHub profile but probably annoying to change it afterwards |
Fixes #2756