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

Function Disabled

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

Source from the content-addressed store, hash-verified

3791 .mockReturnValue(sleep(10).then(() => 'data'))
3792
3793 function Disabled() {
3794 useQuery(() => ({ queryKey: key, queryFn, enabled: false }))
3795 return null
3796 }
3797
3798 function Page() {
3799 const [enabled, setEnabled] = createSignal(false)

Callers

nothing calls this directly

Calls 1

useQueryFunction · 0.50

Tested by

no test coverage detected