MCPcopy Create free account
hub / github.com/TanStack/query / genItems

Function genItems

packages/solid-query/src/__tests__/useInfiniteQuery.test.tsx:1595–1596  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

1593 const key = queryKey()
1594
1595 const genItems = (size: number) =>
1596 [...new Array(size)].fill(null).map((_, d) => d)
1597 const items = genItems(15)
1598 const limit = 3
1599

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected