Working offline
Local-first means load shedding and dead zones don't stop the work — the outbox syncs when you're back.
Handhaaf is local-first: the app writes to its local store immediately and queues the change for sync. No connection, no problem — the work lands now and reaches the server when connectivity does.
- How it actually works
- Every create/update/delete writes the record locally and queues a mutation — one atomic step, never half-saved.
- Deletes are soft — the record tombstones locally and the delete syncs like any change.
- Each mutation carries its own ID — a retried send can never double-apply.
- When the server accepts, the queue entry clears; anything unaccepted stays queued for the next sync.
Pending records show as unsynced until the server acknowledges them — that's the outbox holding your changes, not lost work. Never clear app data with pending mutations; that's the only way to lose them.
- What you'll see