JSDB Offline sync

13 views
Skip to first unread message

Noel da Costa

unread,
Apr 2, 2021, 10:22:15 AM4/2/21
to Enterprise Web Developer Community
Hi Rob,

Modern cloud architectures like Firebase offer offline-sync: https://firebase.google.com/docs/firestore/manage-data/enable-offline

Is this something that could conceivably be implemented with something like (e.g.) vuex, vuex-persist, LocalStorage and JSDB?

My (somewhat wooly) thinking is that LocalStorage allows key/value pairs against globals, which (I think) could map to JSDB. There are vuex plugins which will sync local VueJS app state to LocalStorage. So if there was a sync layer between LocalStorage and QEWD's backend then we could have offline sync. 

What do you think? 

Tx,
Noel


Reply all
Reply to author
Forward
0 new messages