0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/docs/framework/react/reference/interfaces/HydrationBoundaryProps.md
Wonsuk Choi f38e6271b4
chore(*): update '@tanstack/typedoc-config' to v0.3.5 (#12035)
* chore(scripts/generate-docs): read type alias bodies whose type parameters have defaults

* chore(*): update '@tanstack/typedoc-config' to v0.3.5
2026-10-17 11:14:03 +09:00

1.3 KiB

id title
HydrationBoundaryProps HydrationBoundaryProps

Defined in: packages/react-query/src/HydrationBoundary.tsx:16

The props accepted by HydrationBoundary.

Properties

Property Type Description
children? ReactNode The components to render — always rendered unconditionally, not gated on hydration. New queries are hydrated into the cache during render; for queries that already exist in the cache, only newer dehydrated data is hydrated, and that happens in an effect after commit, so children may render briefly before it lands.
options? OmitKeyof<HydrateOptions, "defaultOptions"> & object Optional. Note: unlike hydrate, mutations cannot be set here.
queryClient? QueryClient Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
state DehydratedState | null | undefined The state to hydrate.