#Offline-first or local-first options for React Native run down

7 messages · Page 1 of 1 (latest)

keen imp
#

I'd like to know all my options to create a offline/local-first React Native app with Tanstack DB.

The mobile app would have a local persisted database (SQLite?). The user can read/write from that local database. The local database syncs with a remote database when online.

I'm unsure if each of these supports what I'm looking for.

  • QueryCollection + persistQueryClient ❓
    • No mutation queuing
    • Manual conflict resolution
    • Manual server data change notification
  • ElectricCollection ❓
    • No local persited store
  • RxDBCollection ✅
  • PowerSyncCollection ✅

Do I have the right understanding?

sharp plover
#

I'm interested too

#

Currently building an offline app first

#

Is there any reason why electric sql is not your choice?

livid obsidian
keen imp
keen imp