mirror of
https://github.com/TanStack/query.git
synced 2026-11-16 22:50:20 +00:00
558 B
558 B
| id | title |
|---|---|
| defaultShouldDehydrateQuery | defaultShouldDehydrateQuery |
function defaultShouldDehydrateQuery(query: Query): boolean;
Defined in: packages/query-core/src/hydration.ts:219
The default shouldDehydrateQuery predicate used by dehydrate. Only dehydrates queries whose status is
'success'.
Parameters
query
The query to check.
Returns
boolean
true if the query's status is 'success'.