Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/dont-merge-overlapping-scopes-store-const-used-later.js
2026-08-27 21:09:14 +00:00

15 lines
333 B
JavaScript

import {Stringify, makeObject_Primitives} from 'shared-runtime';
function Component(props) {
const array = [props.count];
const x = makeObject_Primitives();
const element = <div>{array}</div>;
console.log(x);
return <div>{element}</div>;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{count: 42}],
};