MCPcopy Create free account
hub / github.com/TanStack/query / defaultShouldDehydrateQuery

Function defaultShouldDehydrateQuery

packages/query-core/src/hydration.ts:114–116  ·  view source on GitHub ↗
(query: Query)

Source from the content-addressed store, hash-verified

112}
113
114export function defaultShouldDehydrateQuery(query: Query) {
115 return query.state.status === 'success'
116}
117
118function defaultShouldRedactErrors(_: unknown) {
119 return true

Callers 2

makeQueryClientFunction · 0.85
makeQueryClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected