Confusion about offline-first architecture in tanstack-db-expo-starter #2930
AxelBriche
started this conversation in
General
Replies: 1 comment
-
|
The phrase in the readme is "works offline". There are many flavors of meaning off "offline" so your mileage may vary depending on what you need. But by this we mean that data loaded into the app is still available and you can queries and do optimistic mutations while offline. It's still a server oriented architecture with sync out of postgres and writes to an API. If this isn't what you're looking for, sorry for the confusion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm confused about the architecture of the "tanstack-db-expo-starter" example, which claims to be "offline-first".
Issues I've identified:
Express API dependency: Mutations go through an Express API (port 3001) that cannot run on iOS. This requires a constant internet connection.
Electric SQL Server: The example uses Electric SQL locally via Docker (localhost:3000), but:
Questions:
Am I misunderstanding the intended architecture?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions