Open History to see the last commit
1---
2id: defaultShouldDehydrateMutation
3title: defaultShouldDehydrateMutation
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8```ts
9function defaultShouldDehydrateMutation(mutation: Mutation): boolean;
10```
11β
12Defined in: [packages/query-core/src/hydration.ts:209](https://github.com/TanStack/query/blob/main/packages/query-core/src/hydration.ts#L209)
13β
14The default `shouldDehydrateMutation` predicate used by `dehydrate`. Only dehydrates mutations that are
15currently paused (e.g. paused by `networkMode` while offline).
16β
17## Parameters
18β
19### mutation
20β
21[`Mutation`](../classes/Mutation.md)
22β
23The mutation to check.
24β
25## Returns
26β
27`boolean`
28β
29`true` if the mutation is paused.