Skip to content

Add support for new JSX transform #9553

Closed
@iansu

Description

@iansu

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions