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

Function Inner

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

Source from the content-addressed store, hash-verified

1719 }
1720
1721 function Inner() {
1722 const state = useInfiniteQuery({
1723 queryKey: key,
1724 queryFn,
1725 getNextPageParam: () => undefined,
1726 initialPageParam: 0,
1727 })
1728 return (
1729 <div>
1730 <h1>Status: {state.status}</h1>
1731 </div>
1732 )
1733 }
1734
1735 function Page() {
1736 const [isVisible, setIsVisible] = React.useState(true)

Callers

nothing calls this directly

Calls 1

useInfiniteQueryFunction · 0.50

Tested by

no test coverage detected