756 B
756 B
Input
function component(a) {
let z = {a};
const f0 = function () {
const f1 = function () {
z.b = 1;
};
f1();
};
f0();
return z;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ['TodoAdd'],
isComponent: 'TodoAdd',
};
Code
import { c as _c } from "react/compiler-runtime";
function component(a) {
const $ = _c(2);
let z;
if ($[0] !== a) {
z = { a };
const f0 = function () {
const f1 = function () {
z.b = 1;
};
f1();
};
f0();
$[0] = a;
$[1] = z;
} else {
z = $[1];
}
return z;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ["TodoAdd"],
isComponent: "TodoAdd",
};