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

Function UserInfo

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

Source from the content-addressed store, hash-verified

1990 }
1991
1992 function UserInfo({ id }: { id: number | null }) {
1993 const searchQuery = useUserInfoQuery({ id, enabled: true })
1994
1995 return <div>UserInfo data is {JSON.stringify(searchQuery.data)} </div>
1996 }
1997
1998 const rendered = renderWithClient(queryClient, <Page />)
1999

Callers

nothing calls this directly

Calls 1

useUserInfoQueryFunction · 0.70

Tested by

no test coverage detected