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.