File tree Expand file tree Collapse file tree 4 files changed +4
-28
lines changed
examples/solid/start-basic-solid-query/src Expand file tree Collapse file tree 4 files changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66import { NotFound } from './components/NotFound'
77
88export 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 } ,
Original file line number Diff line number Diff line change @@ -4,13 +4,7 @@ import { setupRouterSsrQueryIntegration } from '@tanstack/solid-router-ssr-query
44import { routeTree } from './routeTree.gen'
55
66export 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 } ,
Original file line number Diff line number Diff line change @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66import { NotFound } from './components/NotFound'
77
88export 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' ,
Original file line number Diff line number Diff line change @@ -6,13 +6,7 @@ import { DefaultCatchBoundary } from './components/DefaultCatchBoundary'
66import { NotFound } from './components/NotFound'
77
88export 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,
You can’t perform that action at this time.
0 commit comments