-
-
Notifications
You must be signed in to change notification settings - Fork 556
@blocknote/react
doesn't work with React 19 RC
#1021
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
Comments
Thanks @leonsilicon. I don't think this is because BlockNote uses internal APIs, but because we have a peerdependency:
This will cause react 18 to be installed in I haven't tested upgrading this myself, but perhaps this pointer could work. I recommend checking and testing blocknote by checking out your own copy and upgrading the peer dependency and running the tests. What are you building with BlockNote btw? |
Ah, sorry I initially saw the error stacktrace point to a file in the @blocknote/react I'm not sure how one would make that bundled |
struggling with this currently and saw this. makes sense now. ill test out bumping the peerdeps
|
update: I was unable to do a rebuild as I kept running into errors. i'm a noob when it comes to low-level library stuff. will just have to wait till blocknote supports react 19 when it comes out :) |
Still facing the same issue, peerDependencies don't help at all. |
Good news is there's a PR already for this 😁 |
A new PR? I don't see one open -- I'm still facing the same issue in the screenshot, after updating BlockNote and my app to Next.js 15 |
PR #1173 |
@YousefED Thank you for working on this so quickly! |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug


@blocknote/react
doesn't work with React 19 RC as it uses React internalsTo Reproduce
https://stackblitz.com/edit/github-ekywvq?file=package.json
Misc
The text was updated successfully, but these errors were encountered: