Questions tagged [react-infinite-scroll-component]
48 questions
0
votes
1 answer
How to remove repeatable API results when using react-infinite-scroll and react hooks
I'm working with react-infinite-scroll-component library and randomuser.me api. I can fetch the data and the infinite scroll works just fine but the problem I have is that since the component makes a request at every scroll, I'm getting repeatable…

ncesar
- 1,592
- 2
- 15
- 34
0
votes
1 answer
How to use React Infinite Scroll with hooks
First time using react-infinite-scroll-component and am struggling to get it work as intended. At the moment, it calls a loadMore method after fetching the first 2 items (which is what I want), but then it loads the next 3 items (which it should…

Thomas Allen
- 725
- 5
- 17
- 30
-1
votes
0 answers
Rendering issue of cards with react-infinite-scroll-component
I have 3000+ tools data stored in my API, and I have used react-inifinite-scroll-component in order to show paginated view to the user, so that once they scroll so then only, they must see new data.
I have a common useState called data1, where I…

Rishabh Dwivedi
- 1
- 2