Open History to see the last commit
Defined in: packages/query-core/dist-ts/src/types.d.ts:197
Extends#
InitialPageParam<TPageParam>
Extended by#
Type Parameters#
TQueryFnData#
TQueryFnData = unknown
TPageParam#
TPageParam = unknown
Properties#
| Property | Type | Description |
|---|---|---|
getNextPageParam | GetNextPageParamFunction<TPageParam, TQueryFnData> | This function can be set to automatically get the next cursor for infinite queries. The result will also be used to determine the value of hasNextPage. |
getPreviousPageParam? | GetPreviousPageParamFunction<TPageParam, TQueryFnData> | This function can be set to automatically get the previous cursor for infinite queries. The result will also be used to determine the value of hasPreviousPage. |
initialPageParam | TPageParam | - |