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

Function Example

packages/react-query/src/__tests__/useQuery.test.tsx:6739–6742  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6737 const key = queryKey()
6738
6739 function Example() {
6740 useQuery({ queryKey: key })
6741 return <></>
6742 }
6743
6744 renderWithClient(queryClient, <Example />)
6745

Callers

nothing calls this directly

Calls 1

useQueryFunction · 0.50

Tested by

no test coverage detected