|
1
|
const {ObjectWithHooks} = require('shared-runtime'); |
|
2
|
|
|
3
|
function Component(props) { |
|
4
|
const x = []; |
|
5
|
const [y] = ObjectWithHooks.useMakeArray(); |
|
6
|
x.push(y); |
|
7
|
return y; |
|
8
|
} |
|
9
|
|
|
10
|
export const FIXTURE_ENTRYPOINT = { |
|
11
|
fn: Component, |
|
12
|
params: [{}], |
|
13
|
}; |