Engineering Decisions · Junior · Question 4 of 12
An online store's catalog has 10,000 products. Shoppers compare items, share links to a position and need the footer. How do you display the list?
- 1Numbered pages with the page number in the URL
- 2Infinite scroll that loads more items on the way
- 3Load all 10,000 and virtualize the list
Show the answer
Correct answer: Numbered pages with the page number in the URL
Explanation
Numbered pages give each position a shareable URL and keep the footer reachable, which is what this catalog needs. Infinite scroll fits feeds that people browse without a goal, where a position doesn't matter. A virtualized list fits a data-heavy tool, where all rows are needed in the client, but downloading the whole catalog is wasteful here.