Chapter 4

Sync + Offline

Mobile + desktop sync to the same API.

~25 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Mobile offline reads
  • Desktop outbox
  • Resolve conflicts

Chapter assignment

Survive a flaky network

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.

See success criteria

Lesson 1 takes ~8 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub