Is there an offline-only mode for Convex
Is there an offline-only mode for Convex? My app model is like so:
Free users -> Offline IndexedDB only to save db costs
Premium Subbed -> Sync between online and offline to enable multidevice access + Online backups
So I need to switch between the two based on the paid_sub state. If there's nothing like this first party but someone has a workaround/method to accomplish the same, it'll be a great help.
I'm an intermediary frontend dev who's mostly worked on sites but this is my first time building a local-first APP rather than a nextjs site. Any help is greatly appreciated. Cheers!
3 Replies
Since Replicache is now in maintenance mode, I think you could give RxDB a try — and let us know in the community how it goes!
Convex doesn’t currently support offline mode, but you could experiment with syncing it to Convex and see if it works.
That would make a great blog post for the community Sam!
RxDB - JavaScript Database | RxDB - JavaScript Database
RxDB is a fast, local-first NoSQL-database for JavaScript Applications like Websites, hybrid Apps, Electron-Apps, Progressive Web Apps and Node.js
Did we ever figure this out?
Looks like the best bet is to use rxdb with sqllite rxstorage which is paid?