Replies: 1 comment 1 reply
-
Hey @vinclou 👋, For example, like Ant Design's "Load More" example, https://ant.design/components/list/#components-list-demo-loadmore |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It so happens the backend doesn't aggregate the total count of results and it's not being returned. In our react-query/app there's a custom react-query hook that prefetches the next page and sets the flag hasMore to false + lastPage. This creates an illusion of real pagination basically. We do not expect anyone to not use the search bar and actually paginate in search for a result.
Beta Was this translation helpful? Give feedback.
All reactions