Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/capturing-func-alias-computed-mutate-iife.js
T

17 lines
242 B
JavaScript
Raw Normal View History

2026-08-27 21:09:14 +00:00
const {mutate} = require('shared-runtime');
function component(a) {
let x = {a};
let y = {};
(function () {
y['x'] = x;
})();
mutate(y);
return y;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ['foo'],
};