![](/img/trans.png)
[英][React][useInfiniteQuery] How to restrict the first fetch call to happen only when the view is visible in the viewport
我在我的組件中使用 useInfiniteQuery 掛鈎無限滾動項目。 我希望第一次提取僅在視圖在視口中可見時發生。 我正在使用 useInView/intersection observer 來查找視圖在視口中是否可見。 我正在使用 useInView/intersection observer ...