Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/repro-duplicate-instruction-from-merge-consecutive-scopes.js
2026-08-27 21:09:14 +00:00

18 lines
283 B
JavaScript

import {Stringify} from 'shared-runtime';
function Component({id}) {
const bar = (() => {})();
return (
<>
<Stringify title={bar} />
<Stringify title={id ? true : false} />
</>
);
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};