---
id: QueryClientConfig
title: QueryClientConfig
---
Defined in: [packages/solid-query/src/QueryClient.ts:106](https://github.com/TanStack/query/blob/main/packages/solid-query/src/QueryClient.ts#L106)
The config accepted by `new QueryClient(config)`, with Solid's extended [DefaultOptions](DefaultOptions.md).
## Extends
- `QueryClientConfig`
## Properties
| Property | Type | Description | Overrides |
| ------ | ------ | ------ | ------ |
| `defaultOptions?` | [`DefaultOptions`](DefaultOptions.md)\<`Error`\> | The default options of the queries and mutations of this `QueryClient`. | `QueryCoreClientConfig.defaultOptions` |
| `mutationCache?` | [`MutationCache`](../classes/MutationCache.md) | The mutation cache this client is connected to. A new `MutationCache` is created if not provided. | - |
| `queryCache?` | [`QueryCache`](../classes/QueryCache.md) | The query cache this client is connected to. A new `QueryCache` is created if not provided. | - |