Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

queryFeature.md

36 lines641 Bytes

Function: queryFeature()

function queryFeature<TFeatureKind>(kind, providers): QueryFeature<TFeatureKind>;

Defined in: providers.ts:146

Helper function to create an object that represents a Query feature.

Type Parameters

TFeatureKind

TFeatureKind extends "Devtools" | "PersistQueryClient"

Parameters

kind

TFeatureKind

providers

Provider[]

Returns

QueryFeature<TFeatureKind>

A Query feature.