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

Function Queries

packages/solid-query/src/__tests__/useQueries.test.tsx:97–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 })
96
97 function Queries() {
98 useQueries(() => ({
99 queries: [
100 {
101 queryKey: key1,
102 queryFn: () => sleep(10).then(() => 1),
103 },
104 ],
105 }))
106
107 return (
108 <div>
109 <span>queries</span>
110 </div>
111 )
112 }
113
114 function Page() {
115 const [mounted, setMounted] = createSignal(true)

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueriesFunction · 0.50

Tested by

no test coverage detected