本页还没有译文
本页 5 段还没译成日本語,下面显示的是英文原文。HydrateOptions
还没翻译译自英文(tanstack.com)本页 5 段都还没译
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. |
AI 翻译查看英文原文