Closed yannxaver closed 10 months ago
https://github.com/shellscape/jsx-email/pull/36 will resolve this.
Please try the latest version of render
. The all
package is on a delay.
Looks good. (https://stackblitz.com/edit/stackblitz-starters-f4gt7r?file=package.json)
So the solution for now would be to install all components individually and to not use the all
package?
When do you roughly expect it to be updated?
tbh, it was unexpected that the all
package exports render
as well. In the docs it sounds like it just exports the components.
thought about changing that too, but went with it as it is to make it easy for people to switch from react-render
all v2.1.0 published
Please give this a test and let us know how it works out
No more error message (https://stackblitz.com/edit/stackblitz-starters-83gr6n?file=app%2Faction.ts)
The rendering output also looks good.
Do you plan to publish releases here with change logs? I would subscribe to them.
Do you plan to publish releases here with change logs? I would subscribe to them.
possibly in the future, but for now we're just tagging and updating the changelog.
@jsxp-email/cli
Version?: 1.0.14Expected Behavior
Should be able to render in a server action.
Actual Behavior
Additional Information
This is related to https://github.com/resendlabs/react-email/issues/871 https://github.com/vercel/next.js/issues/43810 (probably includes the fix)
It has been fixed in react-email already because I was able to render in a server action using their package before.