Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/reactivity-analysis-reactive-via-mutation-of-computed-load.js
2026-08-27 21:09:14 +00:00

9 lines
156 B
JavaScript

function Component(props) {
const items = bar();
mutate(items[props.key], props.a);
const count = foo(items.length + 1);
return {items, count};
}