Skip to content
0

katanakit-js / InitialPageParam

Interface: InitialPageParam<TPageParam> ​

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1991

Extended by ​

Type Parameters ​

Type ParameterDefault type
TPageParamunknown

Properties ​

PropertyTypeDescriptionDefined in
initialPageParamTPageParamThe page param to start from when an infinite query has no pages yet. It is passed to queryFn as pageParam for the first page; every page after that gets the value returned by getNextPageParam or getPreviousPageParam. It only applies while the query has no pages: once a first page exists, refetching starts from that page's own param instead.node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1999

Released under the MIT License.