4 ms·
Hi faizshah. I created RxDB ( https://github.com/pubkey/rxdb https://github.com/pubkey/rxdb ), an offline-first-database (javascript) which works for your requi
by realPubkey 9y ago
Hi faizshah. I created RxDB ( https://github.com/pubkey/rxdb https://github.com/pubkey/rxdb ), an offline-first-database (javascript) which works for your requirements, but only with the couchdb-stack.
I did many attempts to create a graphQL-plugin which streams graphql-data into an the offline-first store. But this is not completely solvable because of the lacking graphQL-streaming-capabilities. The thing is, when the users goes offline for an hour an then online again, there is no way to get the changes of the last hour out of graphQL which means the user then would either have missing updates or has to redownload the full state again. The current streaming-api of graphQL requires a stable connection and is so not useable for offline-first.
- faizshah 9y agoThanks for the info and the reply, this seems like a great solution for me for nativescript and I like the docs and feature set. But it's a little heavyweight for web, is there a lite version or a way to create a custom build?
- realPubkey 9y agoYes there is an option to do custom builds. https://pubkey.github.io/rxdb/custom-build.html https://pubkey.github.io/rxdb/custom-build.html