Skip to main content

Interface: UseQueryOptions<GeneratedSchema>#

Type parameters#

NameTypeDefault
GeneratedSchemaobjectnever
GeneratedSchema.queryobject-

Properties#

onError#

• Optional onError: OnErrorHandler

Defined in: react/src/query/useQuery.ts:26


prepare#

• Optional prepare: (helpers: UseQueryPrepareHelpers<GeneratedSchema>) => void

Type declaration:#

â–¸ (helpers: UseQueryPrepareHelpers<GeneratedSchema>): void

Parameters:#

NameType
helpersUseQueryPrepareHelpers<GeneratedSchema>

Returns: void

Defined in: react/src/query/useQuery.ts:27


staleWhileRevalidate#

• Optional staleWhileRevalidate: null | string | number | boolean | object

Defined in: react/src/query/useQuery.ts:25


suspense#

• Optional suspense: boolean

Defined in: react/src/query/useQuery.ts:24

Last updated on by PabloSzx