Skip to content

[Compiler Bug]: double quote compile incorrectly #32137

@himself65

Description

@himself65

What kind of issue is this?

  • React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
  • babel-plugin-react-compiler (build issue installing or using the Babel plugin)
  • eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
  • react-compiler-healthcheck (build issue installing or using the healthcheck script)

Link to repro

https://playground.react.dev/#N4Igzg9grgTgxgUxALhAMygOzgFwJYSYAEAKgmDgBTBFox4KYAmYRAvgJRHAA6xRMBDljFKfIhKIAeJngBuAPnGSJASTREcACwREK9TAHMicQjgCGeTK2279V4wDIAxAEYATAGYA3AAdzhggAclAAtgBGCDAuHgCs3kR4OEQA7ngANulEkQIIvunmiEzZAJ6aOkT+gUSYYZEwAHTKElIA9LKKyhzefGx8IGxAA

Repro steps

Check it

How often does this bug happen?

Every time

What version of React are you using?

19

What version of React Compiler are you using?

latest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions