Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/inner-memo-value-not-promoted-to-outer-scope-static.js
2026-08-27 21:09:14 +00:00

12 lines
204 B
JavaScript

function Component(props) {
const count = new MaybeMutable();
return (
<View>
<View>
{<span>Text</span>}
{<span>{maybeMutate(count)}</span>}
</View>
</View>
);
}