main
js 13 lines 307 Bytes
Raw
1 function Component(props) {
2 // This item is part of the receiver, should be memoized
3 const item = {a: props.a};
4 const items = [item];
5 const mapped = items.map(item => item);
6 return mapped;
7 }
8
9 export const FIXTURE_ENTRYPOINT = {
10 fn: Component,
11 params: [{a: {id: 42}}],
12 isComponent: false,
13 };