Interview practice question
An unexpected API change crashes the frontend
Frontend Engineering · State Management and Data Fetching · Experienced
A backend change returned null for a field the frontend assumed was always present, crashing several pages. How would you prevent this class of issue?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Runtime validation at API boundary.
- Generated types from contract.
- Contract tests in CI.
- Graceful degradation and error boundaries.
- Monitor validation failures.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.