MCPcopy Index your code
hub / github.com/TanStack/query / genItems

Function genItems

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

Source from the content-addressed store, hash-verified

1692 const key = queryKey()
1693
1694 const genItems = (size: number) =>
1695 [...new Array(size)].fill(null).map((_, d) => d)
1696 const items = genItems(15)
1697 const limit = 3
1698

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…