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

821 B

id title
DehydratedState DehydratedState

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

A serializable snapshot of a QueryClient's cache, as produced by dehydrate and consumed by hydrate. Typically transported from server to client (e.g. embedded in server-rendered markup) to seed the client's cache with data that has already been fetched, avoiding a redundant fetch on the client.

Properties

Property Type Description
mutations DehydratedMutation[] The dehydrated mutations, by default only the paused ones.
queries DehydratedQuery[] The dehydrated queries, by default only the successful ones.