# Function: unstable_createHydrateClient()

> 

> **unstable\_createHydrateClient**(`_queryClient`): `FC`\<[`unstable_HydrateClientProps`](https://trpc.io/docs/typedoc/tanstack-react-query/interfaces/unstable_HydrateClientProps.md)\>

Defined in: [tanstack-react-query/src/internals/HydrateClient.tsx:24](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/tanstack-react-query/src/internals/HydrateClient.tsx#L24)

Create a `HydrateClient` server component for the request's `QueryClient`.
It sends the queries started so far in this request to the browser,
pending ones as promises that stream in as they settle. A query an earlier
`HydrateClient` already sent is skipped, so nesting them is fine.

React Server Components only: the package resolves to the server build
through the `react-server` export condition.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `_queryClient` | `QueryClient` \| () => `QueryClient` |

## Returns

`FC`\<[`unstable_HydrateClientProps`](https://trpc.io/docs/typedoc/tanstack-react-query/interfaces/unstable_HydrateClientProps.md)\>

## See

https://trpc.io/docs/client/tanstack-react-query/handles#hydrate-client
