Angad Singh
1 min readApr 9, 2020

--

You’re definitely right about pre-fetching, in a separate call for the next page. About fetching more than you need, I’m not sure, since the point of pagination is usually to display the records as soon as possible especially when you’re making B2B or industrial use applications that have tens of thousands of records and usually there’s some sort of sorting. And in the B2B applications that I’ve worked on, usually the costs of added HTTP calls have not been a factor. But maybe there’s a use case for which you’re right, with a more consumer facing application where the record retrieval on the server-side is also faster.

--

--

Angad Singh
Angad Singh

Written by Angad Singh

Talking about money, tech and how to make money from tech. https://captainkong.io

No responses yet