Index/State and data

Get Premium
CourseFrontend System Design · 0218 minPremium

State and data

The client's data model: telling server cache from client state, keys and staleness, normalising entities, optimistic updates with rollback, persisting for offline, syncing an outbox and handling conflicts when two copies disagree.

Premium

Part of the Frontend System Design course, on the Premium plan

Readers with Lifetime Access read it in full. Already bought it? Sign in from the top bar.

What’s inside

  • 1. Four kinds of state
  • 2. How a query cache works
  • 3. Normalisation
  • 4. Optimistic updates
  • 5. Offline and persistence
  • 6. Conflicts
  • In the interview
  • What goes wrong
  • Drills
  • Check yourself