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

Function UserInfo

packages/react-query/src/__tests__/useQuery.test.tsx:2052–2056  ·  view source on GitHub ↗
({ id }: { id: number | null })

Source from the content-addressed store, hash-verified

2050 }
2051
2052 function UserInfo({ id }: { id: number | null }) {
2053 const searchQuery = useUserInfoQuery({ id, enabled: true })
2054
2055 return <div>UserInfo data is {JSON.stringify(searchQuery.data)} </div>
2056 }
2057
2058 const rendered = renderWithClient(queryClient, <Page />)
2059

Callers

nothing calls this directly

Calls 1

useUserInfoQueryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…