call.expect.md41 lines
mainRaw
## Input
```javascript
function foo() {}
function Component(props) {
const a = [];
const b = {};
foo(a, b);
let _ = <div a={a} />;
foo(b);
return <div a={a} b={b} />;
}
```
## Code
```javascript
import { c as _c } from "react/compiler-runtime";
function foo() {}
function Component(props) {
const $ = _c(1);
let t0;
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
const a = [];
const b = {};
foo(a, b);
foo(b);
t0 = <div a={a} b={b} />;
$[0] = t0;
} else {
t0 = $[0];
}
return t0;
}
```
Rendering Markdown…