Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/capturing-function-runs-inference.js
T
2026-08-27 21:09:14 +00:00

12 lines
269 B
JavaScript

import {Stringify} from 'shared-runtime';
function Component({a, b}) {
let z = {a};
let p = () => <Stringify>{z}</Stringify>;
return p();
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{a: 1}],
sequentialRenders: [{a: 1}, {a: 1}, {a: 2}],
};