TypeError: dispatcher.getOwner is not a function
thrown when rendering an email template with React 19 RC
#1790
Labels
Package: @react-email/render
Resolution: Needs More Information
More information is needed on this issue
Type: Bug
Confirmed bug
Describe the Bug
The following error is thrown when rendering an email template in a containerized Next.js 15 application using React 19.0.0-rc.
Interestingly rendering works completely free of errors when running a dev server. I am using the following packages and versions.
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
none
To Reproduce
Calling render from causes the error. The second log statement is never executed in the below example.
I also tried:
Expected Behavior
I expect the render function to produce the rendered HTML code without throwing an error.
What's your node version? (if relevant)
20.10.0
The text was updated successfully, but these errors were encountered: