Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

queryClient.ts

9 lines176 Bytes

1import { QueryClient } from '@tanstack/solid-query'
2​
3export const queryClient = new QueryClient({
4 defaultOptions: {
5 queries: {
6 staleTime: 10 * 1000,
7 },
8 },
9})