appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.91k stars 468 forks source link

Continuous pagination / Infinite scroll pagination / "Load more" pagination #1379

Open alessandroniciforo opened 4 years ago

alessandroniciforo commented 4 years ago

Affected Projects We're working on a Vue.JS project, but I think it'd be worth to bring this feature to React and React Native as well.

Is your feature request related to a problem? Please describe. The only pagination currently implemented in Reactive Search is the standard pagination with the bar on the bottom of the results. We'd like to have a pagination with the "Load more" button instead.

Describe the solution you'd like The features that the solution should have are mainly taken from this article and from this reference implementation. It should be both SEO-friendly and user-friendly, it should work both on the client and on the server-side rendering.

There's a "Load more" button on the bottom of the results. When the user clicks on this button:

When I open a URL that has the page number n in its query string:

Additional context We're currently working on the Vue.JS implementation. We'd like to get to a working version and to open a PR for this feature. Any kind of feedback on this feature from the community or from the maintainers is much appreciated!

gethommey commented 3 years ago

Is this functionality completed for react?