Repository navigation
[Expo] Can I use electric only with expo-sqlite and no pg db or the sync service? #941
|
I'm building an offline first mobile app that as a MVP will work only on device and will not sync with a db. In the future I'm planning to sync with Supabase. So far I've tried watermelondb, but the dx is terrible. Couldn't wrap my head if I can achieve this in electric, any pointers? |
Answered by
alco
Feb 15, 2024
Replies: 1 comment 1 reply
|
This has been answered on Discord. We have a local-only-first mode in the CLI API - https://electric-sql.com/docs/api/cli#local-only-first-mode. There are also upcoming changes to the |
1 reply
Answer selected by
atanaskanchev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has been answered on Discord.
We have a local-only-first mode in the CLI API - https://electric-sql.com/docs/api/cli#local-only-first-mode. There are also upcoming changes to the
electrify()TypeScript API that will make the auth token optional, allowing you to start with a local app and think about syncing with the server at a later point in development.