infiniteHits remember previous pages
See original GitHub issueI used the issues search and I didn’t found a issue related with that
In the current implementation, when I press Load More
button the next page is fetched (and the query param in the url is updated) but previous pages are not remember in the url, so if you refresh now the browser, just the browser fetch the current page.
Could be possible remember the pages? Like yea, I’m in the 2 page, but under refresh I want to fetch all the previous page.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Infinitehits show-previous: when loading page=x, load all ...
We are using the infinitehits widget, and have enabled the “show-previous” modifier to enable the “page=x” query parameter, which allows us ...
Read more >Infinite Scroll in React | Full Tutorial - YouTube
Infinite Scroll in React is a highly requested app feature that can be achieved in several ways. This React full tutorial provides two ......
Read more >infinite hits via the new SM FAQ - DakkaDakka
Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you...
Read more >instantsearch.js - UNPKG
Two scenarios possible:\n * the page is omitted -> return the given instance\n ... {SearchResults} event.results the previous results received from Algolia.
Read more >Dance Device Lab – Apolla Performance Wear
It is so light you forget you are wearing it except for how much better your body feels ... The Infinite hits mid-calf,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would say that on infinite like interfaces you should not try to sync the url with the current “page” (= scroll position). Twitter does not do it for instance and I think that’s the right move here.
If you want bookmakable pages then use the load more button but without having an infinite scroll example, replace the results everytime.
What do you think?
React InstantSearch has been moved here: https://github.com/algolia/react-instantsearch This issue has either been rewritten or placed inside our backlog.