MCPcopy Create free account
hub / github.com/HuolalaTech/react-query-kit / getNextPageParam

Function getNextPageParam

tests/createInfiniteQuery.test.tsx:18–18  ·  view source on GitHub ↗
(lastPage: Response)

Source from the content-addressed store, hash-verified

16 }
17 const initialPageParam = 1
18 const getNextPageParam = (lastPage: Response) => lastPage.nextCursor
19 const useGeneratedQuery = createInfiniteQuery<Response, Variables, Error>({
20 queryKey: key,
21 fetcher,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected