Open History to see the last commit
1---
2id: QueryClientConfig
3title: QueryClientConfig
4---
5β
6Defined in: [packages/solid-query/src/QueryClient.ts:106](https://github.com/TanStack/query/blob/main/packages/solid-query/src/QueryClient.ts#L106)
7β
8The config accepted by `new QueryClient(config)`, with Solid's extended [DefaultOptions](DefaultOptions.md).
9β
10## Extends
11β
12- `QueryClientConfig`
13β
14## Properties
15β
16| Property | Type | Description | Overrides |
17| ------ | ------ | ------ | ------ |
18| <a id="property-defaultoptions"></a> `defaultOptions?` | [`DefaultOptions`](DefaultOptions.md)\<`Error`\> | The default options of the queries and mutations of this `QueryClient`. | `QueryCoreClientConfig.defaultOptions` |
19| <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. | - |
20| <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. | - |