-
Notifications
You must be signed in to change notification settings - Fork 695
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
refactor: render
package
#1750
base: canary
Are you sure you want to change the base?
refactor: render
package
#1750
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
import { Suspense } from "react"; | ||
import { pretty } from "../shared/utils/pretty"; | ||
import { renderToReadableStream } from "react-dom/server"; |
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.
Saw you removed the dynamic import back into this, are we sure that this isn't going to bring #871 back?
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.
good call, I'm going to double check.
my concern with the dynamic import was that it was not reliably resolving the correct version of the react-dom/server package, doing it from the root seems to solve the issue, but I'll check if it's not introducing any regressions
8e9f8a2
to
e62ec22
Compare
7443653
to
447c778
Compare
66c5ab9
to
9f5b6d3
Compare
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
447c778
to
1989630
Compare
4ee4d1d
to
0187b0a
Compare
bf3f899
to
1748335
Compare
some refactor in the
render
package to make it more future proof, this also removes the previously deprecatedrenderAsync
method, so the goal is that this ends up in a new major version