Local-First
Replicache Testing Guide: Mutations, Rebase, Conflict Resolution, and Offline Testing
Replicache is the local-first sync framework that made optimistic UI updates on top of server-authoritative state mainstream. Its core bet: every mutation applies optimistically on the client, gets rebased when the server responds, and conflict resolution happens through a deterministic rebase algorithm. Testing this correctly requires understanding the