JSTQL-JS-Transform/output_testing/492reactivity-analysis-reactive-via-mutation-of-property-load.js

9 lines
166 B
JavaScript
Raw Normal View History

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