0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
query/docs/framework/react/reference/functions/defaultShouldDehydrateQuery.md

491 B

id title
defaultShouldDehydrateQuery defaultShouldDehydrateQuery
function defaultShouldDehydrateQuery(query: Query): boolean;

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

The default shouldDehydrateQuery predicate used by dehydrate. Only dehydrates queries whose status is 'success'.

Parameters

query

Query

Returns

boolean