SpinTheMic
Pro

Interview practice question

Designing a client cache for a complex domain

Frontend Engineering · State Management and Data Fetching · Experienced

Your app displays projects, tasks and users across many views, and keeping them consistent is painful. How would you design the client cache?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Normalised entities by ID or consistent query keys.
  • Mutations return updated entities.
  • Central invalidation map.
  • Real-time events patch cache.
  • Tests for consistency.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics