question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lazy loading (or pagination on scroll)

See original GitHub issue

Does 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:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
klis87commented, Feb 14, 2021

@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?

0reactions
klis87commented, Mar 4, 2021

Cool! I pointed you some references to subscriptions. Wondering whether they will solve your use case!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found