-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Export named renderToReadableStream
not found in module react-dom/server
#9949
Comments
I'm same here. Reproducing scriptimport reactDomServer from "react-dom/server";
console.log("reactDomServer:", reactDomServer); Environment
Result by versionIn 1.1 series, https://react.dev/reference/react-dom/server
|
maybe need use react canary version , then will work..
|
As
Another option you can try is to import from
|
Honestly, this is not a solution to the problem. But if you are here too, you need to specify types:
declare module 'react-dom/server.browser' {
export * from 'react-dom/server';
} |
What version of Bun is running?
1.1.1+ca1dbb4eb
What platform is your computer?
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
https://bun.sh/guides/ecosystem/ssr-react
What is the expected behavior?
No response
What do you see instead?
Additional information
Works with v1.0.36
The text was updated successfully, but these errors were encountered: