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

DehydratedState.md

17 lines672 Bytes

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

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

PropertyType
mutationsDehydratedMutation[]
queriesDehydratedQuery[]