Interface InfiniteQueryPageParamsOptions<TQueryFnData, TPageParam>

Type Parameters

  • TQueryFnData = unknown
  • TPageParam = unknown

Hierarchy (view full)

Properties

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.

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