Chapter 4 Assignment
Survive a flaky network
The brief
Toggle airplane mode on mobile + desktop while the user is mid-flow. Confirm both keep working (offline reads + queued writes). Re-enable network. Confirm both flush their queues and converge to the same state without manual refresh.
You've completed this when
- Offline reads work on mobile (React Query persistence)
- Offline writes queue on desktop (outbox)
- Both flush on reconnect and reach the same server state
- A conflict between desktop + mobile resolves deterministically
Worked through every criterion?
Push your code to GitHub, paste the link in your notes.md, and move on.
Continue to ch.5: Coordinated Releases