From cea16d31a6d7f675d148b525c71c6cf2d9f2ed73 Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Mon, 3 Nov 2025 17:41:54 +0100 Subject: [PATCH] test(solid-start-ssr-query): remove experimental_prefetchInRender --- e2e/solid-start/basic-solid-query/src/router.tsx | 8 +------- e2e/solid-start/query-integration/src/router.tsx | 8 +------- e2e/solid-start/server-functions/src/router.tsx | 8 +------- examples/solid/start-basic-solid-query/src/router.tsx | 8 +------- 4 files changed, 4 insertions(+), 28 deletions(-) diff --git a/e2e/solid-start/basic-solid-query/src/router.tsx b/e2e/solid-start/basic-solid-query/src/router.tsx index 0fb5450070..fb853d3c22 100644 --- a/e2e/solid-start/basic-solid-query/src/router.tsx +++ b/e2e/solid-start/basic-solid-query/src/router.tsx @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary' import { NotFound } from './components/NotFound' export function getRouter() { - const queryClient = new QueryClient({ - defaultOptions: { - queries: { - experimental_prefetchInRender: true, - }, - }, - }) + const queryClient = new QueryClient() const router = createRouter({ routeTree, context: { queryClient }, diff --git a/e2e/solid-start/query-integration/src/router.tsx b/e2e/solid-start/query-integration/src/router.tsx index 248bd13d1f..59ce312b7e 100644 --- a/e2e/solid-start/query-integration/src/router.tsx +++ b/e2e/solid-start/query-integration/src/router.tsx @@ -4,13 +4,7 @@ import { setupRouterSsrQueryIntegration } from '@tanstack/solid-router-ssr-query import { routeTree } from './routeTree.gen' export function getRouter() { - const queryClient = new QueryClient({ - defaultOptions: { - queries: { - experimental_prefetchInRender: true, - }, - }, - }) + const queryClient = new QueryClient() const router = createRouter({ routeTree, context: { queryClient }, diff --git a/e2e/solid-start/server-functions/src/router.tsx b/e2e/solid-start/server-functions/src/router.tsx index 3fc33ed7dd..e5566c4617 100644 --- a/e2e/solid-start/server-functions/src/router.tsx +++ b/e2e/solid-start/server-functions/src/router.tsx @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary' import { NotFound } from './components/NotFound' export function getRouter() { - const queryClient = new QueryClient({ - defaultOptions: { - queries: { - experimental_prefetchInRender: true, - }, - }, - }) + const queryClient = new QueryClient() const router = createRouter({ routeTree, defaultPreload: 'intent', diff --git a/examples/solid/start-basic-solid-query/src/router.tsx b/examples/solid/start-basic-solid-query/src/router.tsx index 2f72beb731..d0d083f875 100644 --- a/examples/solid/start-basic-solid-query/src/router.tsx +++ b/examples/solid/start-basic-solid-query/src/router.tsx @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary' import { NotFound } from './components/NotFound' export function getRouter() { - const queryClient = new QueryClient({ - defaultOptions: { - queries: { - experimental_prefetchInRender: true, - }, - }, - }) + const queryClient = new QueryClient() const router = createRouter({ routeTree,