Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

QueryClientConfig.md

14 lines825 Bytes

1---
2id: QueryClientConfig
3title: QueryClientConfig
4---
5​
6Defined in: [packages/query-core/src/types.ts:1609](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L1609)
7​
8## Properties
9​
10| Property | Type | Description |
11| ------ | ------ | ------ |
12| <a id="defaultoptions"></a> `defaultOptions?` | [`DefaultOptions`](DefaultOptions.md)\<`Error`\> | Default options for all queries and mutations created through this client. |
13| <a id="mutationcache"></a> `mutationCache?` | [`MutationCache`](../classes/MutationCache.md) | The mutation cache this client is connected to. A new `MutationCache` is created if not provided. |
14| <a id="querycache"></a> `queryCache?` | [`QueryCache`](../classes/QueryCache.md) | The query cache this client is connected to. A new `QueryCache` is created if not provided. |