Edit the notes below, then flip the connection off and keep editing — every change queues locally instead of failing. Someone else can edit the same note on the “server” while you’re offline. Reconnect and watch the queue replay in order, with a real conflict surfaced (not silently overwritten) whenever your version and the server’s disagree. No backend; the server is a small object in memory with its own revision counter.
baseRev (the revision it was edited from). Reconnect: the queue
drains in order; the server accepts a mutation only when baseRev matches its current
revision. A mismatch means the note changed underneath you while offline — that's a real
conflict, surfaced for a choice (keep mine / take theirs), never auto-resolved by last-write-wins.
Built by Pushpendra Mishra — React Native / React engineer. Vanilla JS, one file, theme-aware. Code reference: public-demos/offline-first-sync-demo · read the case study →