mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
* chore(*): update '@tanstack/typedoc-config' to v0.3.4 and load its custom settings plugin by package export * docs(framework/*/reference): regenerate reference docs with '@tanstack/typedoc-config' v0.3.4 * docs(framework/*/reference): regenerate reference docs * docs(framework/*/reference): regenerate reference docs
1.2 KiB
1.2 KiB
| id | title |
|---|---|
| HydrateOptions | HydrateOptions |
Defined in: packages/query-core/src/hydration.ts:68
Options for hydrate, controlling the default options applied to queries/mutations restored from a
DehydratedState, and how to reverse any transformation applied by DehydrateOptions.serializeData.
Properties
| Property | Type | Description |
|---|---|---|
defaultOptions? |
object |
Options applied to the queries and mutations restored from the dehydrated state. |
defaultOptions.deserializeData? |
TransformerFn |
Transforms a query's data after it is read from the dehydrated state, reversing serializeData. |
defaultOptions.mutations? |
MutationOptions<unknown, Error, unknown, unknown> |
Default options merged into every mutation restored from the dehydrated state. |
defaultOptions.queries? |
QueryOptions<unknown, Error, unknown, readonly unknown[], never> |
Default options merged into every query restored from the dehydrated state. |