Familiarity with ReactReact hooksTypeScript basics
新手友好度1-100 的估计分数,表示该议题对首次贡献者的友好程度。
70
研究方向
The request is to add a `loading` prop to the InfiniteScroll component to allow external control over loading state. The current implementation determines loading from `loadMore` function. Look at the component source in `src/components/infinite scroll/` to understand the existing logic. Then add the prop, update TypeScript types, and integrate it so that when the prop is provided, it overrides the internal state. The issue has comments suggesting implementation approaches; review those for guidance. The assignee may have already started work. Coordinate with them to avoid duplication.