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

Function Disabled

packages/solid-query/src/__tests__/useQuery.test.tsx:3733–3736  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3731 .mockReturnValue(sleep(10).then(() => 'data'))
3732
3733 function Disabled() {
3734 useQuery(() => ({ queryKey: key, queryFn, enabled: false }))
3735 return null
3736 }
3737
3738 function Page() {
3739 const [enabled, setEnabled] = createSignal(false)

Callers

nothing calls this directly

Calls 1

useQueryFunction · 0.50

Tested by

no test coverage detected