We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03159c2 commit 9902de3Copy full SHA for 9902de3
packages/router-ssr-query-core/src/index.ts
@@ -3,6 +3,7 @@ import {
3
hydrate as queryHydrate,
4
} from '@tanstack/query-core'
5
import { isRedirect } from '@tanstack/router-core'
6
+import { isServer } from '@tanstack/router-core/is-server'
7
import type { AnyRouter } from '@tanstack/router-core'
8
import type {
9
QueryClient,
@@ -51,7 +52,7 @@ export function setupCoreRouterSsrQueryIntegration<TRouter extends AnyRouter>({
51
52
},
53
}
54
- if (router.isServer) {
55
+ if (isServer) {
56
const queryStream = createPushableStream()
57
58
router.options.dehydrate =
0 commit comments