How would you implement pagination in a frontend application? | JavaScript Interview Questions | Frontend Architecture

@Yomesh Gupta

In a real world high traffic web application there can be multiple types of pagination like infinite scroll, next/prev navigation, number based, and so on.

If you have to implement this then how would you do it? What would be the API contract, third party packages (if any), data storage, tech stack?

Use this question to write down your thoughts and develop a clear approach.

Your Answer