Skip to content

Commit 7fbd3e2

Browse files
authored
test(solid-start-ssr-query): remove experimental_prefetchInRender (#5740)
1 parent 8964b5c commit 7fbd3e2

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

e2e/solid-start/basic-solid-query/src/router.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66
import { NotFound } from './components/NotFound'
77

88
export function getRouter() {
9-
const queryClient = new QueryClient({
10-
defaultOptions: {
11-
queries: {
12-
experimental_prefetchInRender: true,
13-
},
14-
},
15-
})
9+
const queryClient = new QueryClient()
1610
const router = createRouter({
1711
routeTree,
1812
context: { queryClient },

e2e/solid-start/query-integration/src/router.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ import { setupRouterSsrQueryIntegration } from '@tanstack/solid-router-ssr-query
44
import { routeTree } from './routeTree.gen'
55

66
export function getRouter() {
7-
const queryClient = new QueryClient({
8-
defaultOptions: {
9-
queries: {
10-
experimental_prefetchInRender: true,
11-
},
12-
},
13-
})
7+
const queryClient = new QueryClient()
148
const router = createRouter({
159
routeTree,
1610
context: { queryClient },

e2e/solid-start/server-functions/src/router.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66
import { NotFound } from './components/NotFound'
77

88
export function getRouter() {
9-
const queryClient = new QueryClient({
10-
defaultOptions: {
11-
queries: {
12-
experimental_prefetchInRender: true,
13-
},
14-
},
15-
})
9+
const queryClient = new QueryClient()
1610
const router = createRouter({
1711
routeTree,
1812
defaultPreload: 'intent',

examples/solid/start-basic-solid-query/src/router.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66
import { NotFound } from './components/NotFound'
77

88
export function getRouter() {
9-
const queryClient = new QueryClient({
10-
defaultOptions: {
11-
queries: {
12-
experimental_prefetchInRender: true,
13-
},
14-
},
15-
})
9+
const queryClient = new QueryClient()
1610

1711
const router = createRouter({
1812
routeTree,

0 commit comments

Comments
 (0)