MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / HydrateClient

Function HydrateClient

src/trpc/server.tsx:30–37  ·  view source on GitHub ↗
(props: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

28}
29
30export function HydrateClient(props: { children: React.ReactNode }) {
31 const queryClient = getQueryClient();
32 return (
33 <HydrationBoundary state={dehydrate(queryClient)}>
34 {props.children}
35 </HydrationBoundary>
36 );
37}

Callers

nothing calls this directly

Calls 1

getQueryClientFunction · 0.85

Tested by

no test coverage detected