Skip to content

Quiet ESLint so we don't have to import React anymore #1856

Closed
@Kira-Pilot

Description

@Kira-Pilot

We should tweak our ESLint rules so that we don't have to import React at the top of each JSX file.

In version 17, React introduced a new JSX Transform that imports React behind the scenes, so manual import by us devs is no longer required. We should take advantage of this simplification.

AC:

  • tweak our ESLint so we don't hear complaints when we are no longer importing React (details in linked blog)
  • don't worry about import cleanup right now - this can be an incremental effort the whole team can take part in

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions