Today's Trends
mediumInvestigatingReact

React Compiler Rust Babel Adapter Fails to Compile Lone Surrogates

  1. Investigating(current)
  2. Trending(upcoming)
  3. Workaround available(upcoming)
  4. Resolved(upcoming)

Executive summary

The Rust Babel adapter for the React Compiler fails to compile lone surrogates after backslashes, resulting in incorrect JS output or build issues. Developers using the React Compiler with the Rust Babel adapter are affected.

No verified workaround yet

None of the linked reports describe a mitigation. Follow this incident to hear when one appears.

Official fix
Technical root cause

Under active investigation. No report has identified a root cause yet.

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    [Compiler Bug]: Rust Babel adapter fails to compile lone surrogates after backslashes(opens GitHub issue in a new tab)

    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-hooks (build issue installing or using the eslint plugin) react-compiler-healthcheck (build issue installing or using the healthcheck script) Link to repro https://github.com/chengchuu/reproductions/tree/main/react/rust-compiler-surrogate-escape Repro steps…

    by chengchuu 0upvotes 0comments

Timeline

  1. First report on GitHub issue

    [Compiler Bug]: Rust Babel adapter fails to compile lone surrogates after backslashes

    Source