Skip to content

Fixing > character in JSX text should have a "fix all in file" #37409

@DanielRosenwasser

Description

@DanielRosenwasser

We introduced a breaking change in #36636 so that > in JSX text would become an error as per the JSX spec:

Unexpected token. Did you mean `{'>'}` or `>`?

I hit this several times on the new website's src/templates/pages/download.tsx even though the code was just working. Users shouldn't have to fix them one-by-one, so it'd probably be a good idea to auto-fix them all.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions