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

Function Inner

packages/react-query/src/__tests__/useInfiniteQuery.test.tsx:1711–1723  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1709 }
1710
1711 function Inner() {
1712 const state = useInfiniteQuery({
1713 queryKey: key,
1714 queryFn,
1715 getNextPageParam: () => undefined,
1716 initialPageParam: 0,
1717 })
1718 return (
1719 <div>
1720 <h1>Status: {state.status}</h1>
1721 </div>
1722 )
1723 }
1724
1725 function Page() {
1726 const [isVisible, setIsVisible] = React.useState(true)

Callers

nothing calls this directly

Calls 1

useInfiniteQueryFunction · 0.50

Tested by

no test coverage detected