SpinTheMic
Pro

Interview practice question

Mutations are lost when users go offline briefly

Frontend Engineering · State Management and Data Fetching · Intermediate

Users on trains report that actions like "mark as done" are lost when their connection drops. How would you make mutations reliable?

What a strong answer covers

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

  • Queue mutations while offline.
  • Persist queue (IndexedDB).
  • Replay in order when online.
  • Idempotency keys.
  • Show pending status.
Practise this topic

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

See all topics