TanStack
API Reference

QueryClientConfig

Defined in: packages/solid-query/src/QueryClient.ts:105

The config accepted by new QueryClient(config), with Solid's extended DefaultOptions.

Extends

  • QueryClientConfig

Properties

PropertyTypeDescriptionOverrides
defaultOptions?DefaultOptions<Error>Default options for all queries and mutations created through this client.QueryCoreClientConfig.defaultOptions
mutationCache?MutationCacheThe mutation cache this client is connected to. A new MutationCache is created if not provided.-
queryCache?QueryCacheThe query cache this client is connected to. A new QueryCache is created if not provided.-