Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store records locally in client/browser for offline access (when travelling, etc) #58

Open
AnalogJ opened this issue Oct 30, 2022 · 3 comments

Comments

@AnalogJ
Copy link
Member

AnalogJ commented Oct 30, 2022

No description provided.

@AnalogJ
Copy link
Member Author

AnalogJ commented Jan 26, 2023

migrated away from pouchdb/couchdb database. However keeping this open for eventual offline-first feature(s)

@cfu288
Copy link

cfu288 commented Feb 1, 2023

This might be far down in priority, but I've found RxDB to be helpful for this. It wraps IndexedDB (using Dexie.js) but enables both CouchDB sync and GraphQL sync without PouchDB (no attachments supported sadly).

Unfortunately this still doesn't work in FF private, but can help with offline sync in other browsers.

@AnalogJ
Copy link
Member Author

AnalogJ commented Feb 2, 2023

thanks! thats a great call-out. As we'd discussed, I ran into constant issues with PouchDB running in an offline-first SPA.
I'd definitely like to (eventually) support that use-case, so this will be helpful.

@AnalogJ AnalogJ transferred this issue from fastenhealth/docs Feb 2, 2023
@AnalogJ AnalogJ changed the title when running in Firefox private browsing, IndexDB is not writable, cannot store credentials Store records locally in client/browser for offline access (when travelling, etc) Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants