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