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

HydrationBoundaryProps.md

57 lines1.3 KB

1---
2id: HydrationBoundaryProps
3title: HydrationBoundaryProps
4---
5​
6# Interface: HydrationBoundaryProps
7​
8Defined in: [preact-query/src/HydrationBoundary.tsx:12](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/HydrationBoundary.tsx#L12)
9​
10## Properties
11​
12### children?
13​
14```ts
15optional children: ComponentChildren;
16```
17​
18Defined in: [preact-query/src/HydrationBoundary.tsx:20](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/HydrationBoundary.tsx#L20)
19​
20***
21​
22### options?
23​
24```ts
25optional options: OmitKeyof<HydrateOptions, "defaultOptions"> & object;
26```
27​
28Defined in: [preact-query/src/HydrationBoundary.tsx:14](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/HydrationBoundary.tsx#L14)
29​
30#### Type Declaration
31​
32##### defaultOptions?
33​
34```ts
35optional defaultOptions: OmitKeyof<{
36}, "mutations">;
37```
38​
39***
40​
41### queryClient?
42​
43```ts
44optional queryClient: QueryClient;
45```
46​
47Defined in: [preact-query/src/HydrationBoundary.tsx:21](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/HydrationBoundary.tsx#L21)
48​
49***
50​
51### state
52​
53```ts
54state: DehydratedState | null | undefined;
55```
56​
57Defined in: [preact-query/src/HydrationBoundary.tsx:13](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/HydrationBoundary.tsx#L13)