MCPcopy Create free account
hub / github.com/TanStack/query / createBrowserQueryClient

Function createBrowserQueryClient

examples/lit/ssr/server/index.mjs:44–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function createBrowserQueryClient() {
45 return new QueryClient({
46 defaultOptions: {
47 queries: {
48 retry: false,
49 staleTime: QUERY_STALE_TIME,
50 },
51 },
52 })
53}
54
55function nextDataResponse() {
56 requestCount += 1

Callers 1

renderPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected