Lazy loading (or pagination on scroll)
See original GitHub issueDoes the library have an approach to implement lazy loading? I haven’t found it in the sources or examples.
For example
GET /book/list/199?page_size=10&page=1
and on
GET /book/list/199?page_size=10&page=2
to concatenate both arrays. Any ideas? Otherwise, I would suggest adding the feature
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Pagination vs. Infinite Scroll vs. Load More Explained
When using pagination, the user has complete control over the situation. He goes to the page, analyzes the content, and decides where to...
Read more >Infinite Scroll vs Pagination Yield Comparison - MonetizeMore
Pagination offers limited engagement to the user so that they can find a particular item immediately. On the other hand, lazy loading provides...
Read more >Infinite Scrolling, Pagination Or “Load More” Buttons ...
Pagination is still the most popular way to load new items on a website because it ships by default in almost every single...
Read more >Infinite scroll vs load more button: which is better? | Publift
Infinite scroll uses lazy loading and executes its demand to load more data (products or content) at the bottom of the page, without...
Read more >Lazy Load VS infinite scrolling - Stack Overflow
Lazy loading refers to deferring loading of any kind of content until it becomes necessary. For example, on a long page, images which...
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
@BigBadAlien cool. Actually I am going to make some recipies in the docs in the future, like lazy loading, pagination and more. This library doesn’t have API to cover those cases “by name”, but it is flexible to cover them all with a proper meta attributes’ combination (at least I hope so). Do you have some more ideas for recipies which could be helpful for this library users?
Cool! I pointed you some references to subscriptions. Wondering whether they will solve your use case!