Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@react-email/tailwind): Stop inlining JSX runtime #1462

Merged
merged 1 commit into from
May 14, 2024

Conversation

eps1lon
Copy link
Contributor

@eps1lon eps1lon commented May 13, 2024

Current builds of @react-email/tailwind have the JSX runtime inlined (see occurences of ReactCurrentOwner in https://unpkg.com/@react-email/[email protected]/dist/index.js). It should be treated as an external package just like react and react-dom. Otherwise it may break between any release since React packages need to be used in lockstep. However, inlining the JSX runtime could mean that a consumer has 18.3 installed, while the library was published with an inlined version of 18.2

Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-email-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 6:45pm

Copy link

vercel bot commented May 13, 2024

@eps1lon is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@gabrielmfern gabrielmfern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gabrielmfern gabrielmfern merged commit ed6ae0f into resend:canary May 14, 2024
6 of 7 checks passed
@eps1lon eps1lon deleted the externalize-jsx branch May 23, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants