Careeroza
Pagination vs Infinite Scroll vs Virtualization
Choosing a Technique
| Technique | How | Good for |
|---|---|---|
| Pagination | show page 1 of N, fetch per page | tables, search results, SEO pages |
| Infinite scroll | load more items when near the bottom | feeds, social timelines |
| Virtualization | all data in memory, render only visible rows | huge lists/grids, logs, chat history |
Tip: Infinite scroll + virtualization together keeps both network and DOM small.