Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/lone-surrogate-string-values.expect.md
2026-08-27 21:09:14 +00:00

496 B

Input

function Component() {
  return <Emoji codepoints={['\uD83E', '\uDD21']} size={16} />;
}

Code

import { c as _c } from "react/compiler-runtime";
function Component() {
  const $ = _c(1);
  let t0;
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
    t0 = <Emoji codepoints={["\uD83E", "\uDD21"]} size={16} />;
    $[0] = t0;
  } else {
    t0 = $[0];
  }
  return t0;
}

Eval output

(kind: exception) Fixture not implemented