A roadmap for offline-first? #1012
Replies: 4 comments 8 replies
-
Oh, it's Jared Forsyth! 😆 Yes, I remember his CRDT exploration. How you can answer this today is difficult; if you have an |
Beta Was this translation helpful? Give feedback.
-
We are evaluating URQL and REACT because we want to build a CRM-like that must have all the data and a 100% offline CRUD with synchronization once online. I cannot understand if we can achieve this with URQL. Some of the questions in the article:
|
Beta Was this translation helpful? Give feedback.
-
We're investigating URQL for offline storage as well. Our use case is to allow for disconnected update of business data on a PWA when the user is in an area where online access is restricted or prohibited. I originally investigated AppSync Client, however, over the past several months the project appears to be dead (lack of updates for several months and no replies to questions). Amplify appears to have moved to support for DynamoDB. I started looking at URQL last week and have been very pleased so far, but am running into issues trying to test out For the record, we have a need for encryption and already have a layer in place which will permit storing the data encrypted via SubtleCrypto. That introduced an interesting issue in that we need the client to be restartable so that we can begin in a logged out state and then reinitialize the cache and mutation queue after logging in. It looks like it could work and we have the layer ready from our AppSync research. |
Beta Was this translation helpful? Give feedback.
-
A question on this, I tried to implement this for React Native but IndexDB does not work on React Native. I saw some discussion in the previous repo on offlineExchange for graphcache - is there any working implementation for offlineExchange on React Native? With e.g. AsyncStorage? |
Beta Was this translation helpful? Give feedback.
-
I would like to know how ready I can consider this project if I have to introduce it to my colleagues to choose a solution for a React project that NECESSARILY needs to run VERY often and for SEVERAL HOURS offline.
A case of so-called offline-first.
I would not want them to choose the (usual) PouchDB/CouchDB solution, especially since I would like to reuse the same already working GraphQL backend.
This great guy wrote a great guide to choosing the right offline-first project: https://jaredforsyth.com/posts/in-search-of-a-local-first-database/.
How do you think we can answer for URQL today?
And what are the plans for the future?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions