Skip to content

[v4] Don’t use “JSX uses React” with new runtime #9782

Closed
@gaearon

Description

@gaearon

When using the new JSX transform, we should disable the “jsx uses react” ESLint rule. Otherwise you can’t remove the React import — which is one of the points of the new transform.

We should verify that our default template works without the React import in App.js, including the test environment.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions