4 ms·
You should try using Firebase. It handles the data-sync for you, and it applies all updates locally first so that your app feels snappy.
by firebase-user 5y ago
You should try using Firebase. It handles the data-sync for you, and it applies all updates locally first so that your app feels snappy.
- danuker 5y agoAh yes. Convenience is how Big Tech gets all data to pass through it.
- JamesSwift 5y agoI mentioned Realm because thats what Im familiar with but yeah Firebase is also a good choice if you want a client-server setup.
- code-is-code 5y agoFirebase works until you want a different conflict resolution then last-write-wins. It is also only offline first if the user is authenticated. Otherwise you need a connection to the servers before using the local state.
- jamil7 5y agoFirebase is offline-resistant more so than offline-first I’d argue.
- LAC-Tech 5y agoLast write wins is not handling data sync, it's washing your hands of it. Your users will be frustrated.
- davidzweig 5y agoThe (JS) frontend SDK can be set to either online or offline mode. When in online mode, it seems to insist on downloading full copies of records, even when a version is somewhere in the local cache, slowing things down and incurring cost. Some optimisation could have been applied here, I didn't find anything about it in the docs. Does this match others experience?