Closed gabrielmfern closed 5 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-email | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 9, 2024 2:18pm |
react-email-demo | ❌ Failed (Inspect) | May 9, 2024 2:18pm |
This is needed since React 18.3 deprecated
renderToStaticNodeStream
so they are going to remove it on React 19 meaning we need to move out of this function into something else.From the actual warning given by
react-dom
̇This PR does exactly as the warning recommends us to do, calling
renderToPipeableStream
and piping the stream once theonAllReady
callback is called. Only piping it onceonAllReady
is called, makes it so that stuff like Suspense boundaries don't leave out trailing<script>
tags.