You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not 100% sure we can do something about this as react-dom, which we use internally, seems to be the one using MessageChannel here. All the other APIs we use are supported on the edge without issues.
I've also noticed that the issue goes away when downgrading the React version and Next version to latest, so I do believe we will have support for MessageChannel and this issue going away soon. That being said, we should keep the issue open until it is fixed on Next. I suppose you can also downgrade React to an RC that did not use MessageChannel yet.
Describe the Bug
Using React 19 + Next.js 15
I want to use
@react-email/render
on edge runtime. However, I got this error:Which package is affected (leave empty if unsure)
@react-email/render
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/react-email-render-on-edge-runtime-5dlkxp
To Reproduce
/api/email
Expected Behavior
No errors. And render the component successfully in email.
What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: