The tricky parts are: – optimistic updates – temporary client IDs – retryable request queues – keeping UI responsive while syncing in the background – avoiding tight coupling between networking and domain state
I’ve seen apps turn into a mess once these concerns start leaking everywhere.
For those who’ve built offline-first mobile apps at scale: – how do you usually structure this? – what breaks first? – what would you not do again?
I’m experimenting with my own approach, but I’m very curious how others solved this in production.