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

Add support for new JSX transform #9553

Closed
iansu opened this issue Aug 27, 2020 · 0 comments · Fixed by #9645
Closed

Add support for new JSX transform #9553

iansu opened this issue Aug 27, 2020 · 0 comments · Fixed by #9645
Assignees
Milestone

Comments

@iansu
Copy link
Contributor

iansu commented Aug 27, 2020

There's a new experimental replacement for createElement and we should add support for it: https://babeljs.io/blog/2020/03/16/7.9.0#a-new-jsx-transform-11154-https-githubcom-babel-babel-pull-11154

Unfortunately Babel does not automatically detect your React version so we will have to do that ourselves and only enable this for React 17+. Here's how Next.js implemented this: vercel/next.js#16603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant