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

withNoQueryHydration.md

20 lines561 Bytes

1---
2id: withNoQueryHydration
3title: withNoQueryHydration
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8```ts
9function withNoQueryHydration(): QueryFeature;
10```
11​
12Defined in: [packages/angular-query/src/providers.ts:188](https://github.com/TanStack/query/blob/main/packages/angular-query/src/providers.ts#L188)
13​
14Disables `TransferState` hydration and dehydration for the current environment injector.
15​
16## Returns
17​
18[`QueryFeature`](../interfaces/QueryFeature.md)
19​
20A feature that prevents automatic cache transfer for this injector.