Interview practice question
The same item shows different values in different places
Frontend Engineering · State Management and Data Fetching · Intermediate
After renaming a project, its old name still appears in the sidebar while the main page shows the new one. How would you fix this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Multiple cached copies of same entity.
- Invalidate all related queries.
- Update cache entries for entity everywhere.
- Normalised cache option.
- Consistent query key structure.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.