Gabriel Miranda

Results 278 comments of Gabriel Miranda

> I think this might be the same issue that I'm having here #1054 . There's a PR for a fix, that should be released pretty soon. #1079 I think...

From what I've gathered of this issue what's happening is that Next stubs the `renderToStaticMarkup` and `renderToString` `react-dom/server` functions to throw this error for them to avoid usage of these...

@RomainGueffier What happens if you use renderAsync for this instead?

> Seems like using a polyfill can fix it in safari for now: https://github.com/MattiasBuelens/web-streams-polyfill That's really helpful, we'll probably use something like that for the `renderAsync` to be supported better.

@tecoad AFAIK this is working, just the support for it with Tailwind that is flaky.

> I have the same problem with react-email 2.0.0 @bn3t Is this also the case with 2.1.0?

@mewa So this component is the email template, or does is it a component imported into an email template?

Got this error happening on our latest canary as well, I'll start taking a look at this right now.

Got a fix working for this, will close this one once we release #1431 as a stable release, and will let you know once it's on canary.

Can you please elaborate a bit more?