Interview practice question
Navigating between pages in a SPA feels slow
Frontend Engineering · Web Performance · Intermediate
Clicking links in your single-page app takes a second or more before the new page appears. How would you improve it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Measure: code chunk load, data fetch, render.
- Prefetch route code and data on hover/viewport.
- Parallelise chunk and data loading.
- Show instant feedback (skeleton).
- Cache data.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.