Closed PtitNome closed 6 years ago
Actually, I resolved the issue by setting the onEdnReachedThreshold to {1} instead of 50. Some explanation about that would be appreciated!
I'm not sure why it would be called so much (that's a common issue). The reason it's stopping is because you're no longer in that threshold. Debounce the function might help - or putting some other kind of check in place to avoid the infinite loop
When I run the application, before doing any user input (scrolling the to bottom), there is many calls made to handleLoadMore() (onEndReached). The list is appending new data without need!
It looks like an infinite loop...