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
@naaa760 Feel free to open a PR. I'd advise you go through this for dev workflow.
To fix this kind of issue, we probably are going to have to include some sort of polyfill in the render function itself. So part of looking into fixing this is researching and trying to understand if we should really include a polyfill, or if it would be better to advise users to include it themselves.
Describe the Bug
The render function does not return neither data or error when using Safari/mac. Console error states 'ReadableByteStreamController not defined'.
Solved this in our project by implementing "web-streams-polyfill/polyfill".
Related to ReadableByteStreamController not being compatible with Safari:
https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController
Which package is affected (leave empty if unsure)
@react-email/render
Link to the code that reproduces this issue
Most likely a problem in any project.
To Reproduce
Use Safari (or chrome/safari on iPad) when trying to render the e-mail.
Expected Behavior
Render to work as intended, or at least break and return error.
What's your node version? (if relevant)
"@react-email/render": "1.0.1"
The text was updated successfully, but these errors were encountered: