Open History to see the last commit
1---
2id: QueryClientConfig
3title: QueryClientConfig
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8Defined in: [packages/solid-query/src/QueryClient.ts:106](https://github.com/TanStack/query/blob/main/packages/solid-query/src/QueryClient.ts#L106)
9β
10The config accepted by `new QueryClient(config)`, with Solid's extended [DefaultOptions](DefaultOptions.md).
11β
12## Extends
13β
14- `QueryClientConfig`
15β
16## Properties
17β
18| Property | Type | Description | Overrides |
19| ------ | ------ | ------ | ------ |
20| <a id="property-defaultoptions"></a> `defaultOptions?` | [`DefaultOptions`](DefaultOptions.md)\<`Error`\> | The default options of the queries and mutations of this `QueryClient`. | `QueryCoreClientConfig.defaultOptions` |
21| <a id="property-mutationcache"></a> `mutationCache?` | [`MutationCache`](../classes/MutationCache.md) | The mutation cache this client is connected to. A new `MutationCache` is created if not provided. | - |
22| <a id="property-querycache"></a> `queryCache?` | [`QueryCache`](../classes/QueryCache.md) | The query cache this client is connected to. A new `QueryCache` is created if not provided. | - |