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

defaultShouldDehydrateMutation.md

23 lines563 Bytes

function defaultShouldDehydrateMutation(mutation: Mutation): boolean;

Defined in: packages/query-core/src/hydration.ts:177

The default shouldDehydrateMutation predicate used by dehydrate. Only dehydrates mutations that are currently paused (e.g. paused by networkMode while offline).

Parameters

mutation

Mutation

Returns

boolean