MCPcopy
hub / github.com/TanStack/query / Queries

Function Queries

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

Source from the content-addressed store, hash-verified

691 })
692
693 function Queries() {
694 useQueries(() => ({
695 queries: [
696 {
697 queryKey: key1,
698 queryFn: async () => {
699 await sleep(10)
700 return 1
701 },
702 },
703 ],
704 }))
705
706 return (
707 <div>
708 <span>queries</span>
709 </div>
710 )
711 }
712
713 function Page() {
714 const [mounted, setMounted] = createSignal(true)

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueriesFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…