Interview practice question
Adding pagination to a long list of orders
Frontend Engineering · State Management and Data Fetching · Beginner
An orders page loads all 5,000 orders at once and is slow. How would you add pagination?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Server returns pages (limit + offset or cursor).
- Page number in URL.
- Keep previous page visible while loading next.
- Show total or "load more".
- Cache visited pages.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.