0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/docs/framework/preact/reference/interfaces/InfiniteData.md
2026-10-09 15:50:46 +00:00

801 B

id title
InfiniteData InfiniteData

Defined in: packages/query-core/src/types.ts:315

The data shape of an infinite query: every page fetched so far, plus the page param each one was fetched with. pages and pageParams are index-aligned — pageParams[i] is the param that produced pages[i].

Type Parameters

TData

TData

TPageParam

TPageParam = unknown

Properties

Property Type Description
pageParams TPageParam[] The page param each page was fetched with, aligned by index with pages.
pages TData[] The data of every page fetched so far, in order.