TanStack
API Reference

QueryClientProviderProps

ts
type QueryClientProviderProps = object;

Defined in: packages/react-query/src/QueryClientProvider.tsx:38

The props accepted by QueryClientProvider.

Properties

PropertyTypeDescription
children?React.ReactNodeThe components that get access to the provided QueryClient.
clientQueryClientRequired The QueryClient instance to provide.