JSTQL-JS-Transform/output_testing/936reactivity-analysis-reactive-via-mutation-of-computed-load.js

9 lines
No EOL
175 B
JavaScript

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