-
Notifications
You must be signed in to change notification settings - Fork 592
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
feat(render): Substitute implementation of render
with the one from renderAsync
#1268
base: canary
Are you sure you want to change the base?
Conversation
… from `renderAsync`
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
does this mean the |
@antoinerousseau That'd be pretty cool and I'll still experiment with that but no, not yet, mostly it would be possible to have something like react-query. |
Hello @gabrielmfern thank you for this amazing work. |
@edeuxk |
render
with the one from renderAsync
render
with the one from renderAsync
d136d37
to
eeca866
Compare
Co-authored-by: Benny Burrito <87976514+bennyburrito@users.noreply.github.com> Co-authored-by: Ben Verspeak <ben.verspeak@yonderland.com> Co-authored-by: Gabriel Miranda <gabrielmfern@outlook.com>
… is not installed (#1387) Co-authored-by: zhanghong <hong.zhang@axinan.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…on of react-dom/server (#1117)
9cb4e7f
to
8b8df81
Compare
eea0258
to
e5d2948
Compare
Hi @gabrielmfern we mentioned it in this issue #1080 (comment) |
8a41d44
to
a0a0c9a
Compare
e001f5e
to
f5cf05c
Compare
This deprecates
renderAsync
and replaces the implementation ofrender
with the implementationfrom
renderAsync
. Along with this implementation change ofrender
, I also added the unit tests fromrenderAsync
torender
.Since many of our tests use the
render
utility, I had to change them all to make sure that therender
's returned Promise is now treated correctly.I believe this is the best course of action for a couple of reasons that I go in depth on #1144.
Issues that this can help fix
@react-email/render
and@react-email/components
withserverComponentsExternalPackages
on NextJS #977