dimanche 30 août 2020

Is there an industry standard for implementing infinite scroll while loading (almost) only the items that are on the screen?

A lot of websites have an infinite scroll where they do not load all the contents. They load only the items you go to (and maybe a little more) and also remove the items above on the page from memory when you have scrolled down (so when you go back up, the items are reloaded). An example is Behance search: https://www.behance.net/search

Is there an industry standard way of implementing this? I'd ask for recommendations on the best way to do it if there isn't a standard but that would go against StackOverflow's guidelines.




Aucun commentaire:

Enregistrer un commentaire