Skip to content
tRPC

Partners

Interface: UseTRPCInfiniteQueryOptions<TInput, TOutput, TError>

On this page

Defined in: packages/react-query/src/shared/hooks/types.ts:145

Options for useInfiniteQuery. Use initialCursor instead of initialPageParam.

See

https://trpc.io/docs/client/react/useInfiniteQuery

Extends

Type Parameters

Type Parameter
TInput
TOutput
TError

Properties

initialCursor?

optional initialCursor: ExtractCursorType<TInput>

Defined in: packages/react-query/src/shared/hooks/types.ts:161

The cursor for the first page.


trpc?

optional trpc: TRPCReactRequestOptions

Defined in: packages/react-query/src/shared/hooks/types.ts:67

tRPC-related options

Inherited from

TRPCUseQueryBaseOptions.trpc