You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, we should to known that there is no data from frontend client, you can return a totalPages from backend api, such like this :
In this way, you can find whether there is more data to load based on currentPage and totalPages.
from your question, this is the way I used it in my project.
Hi,
I was wondering how would you prevent from fetching when there's no more data?
I've implemented your work in my project, but it keeps fetching when I'm scrolling down to the bottom page...
Cheers
The text was updated successfully, but these errors were encountered: