Interview practice question
Layout shifts happen during client-side navigation
Frontend Engineering · Web Performance · Experienced
Your CLS is fine on first load, but field data shows shifts accumulating as users navigate within your SPA. How would you fix this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- CLS measured across page lifetime (session windows).
- Reserve space for async content on route change.
- Skeletons with correct dimensions.
- Avoid late-inserted banners.
- Debug with attribution in RUM.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.