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