How difficult is to create an offline-first app? #669
Replies: 2 comments 1 reply
-
You could create a fetcher that read from IndexedDB or WebStorage and if the data it's not there read from an API. Then use that fetcher function in SWR and it should work automatically. For mutating, you will need to see how to mutate locally first, update SWR cache (or trigger a revalidation) with |
Beta Was this translation helpful? Give feedback.
-
We are evaluating many projects 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 your project. Some of the questions in the article:
Plus I need to know:
|
Beta Was this translation helpful? Give feedback.
-
I only discovered this project today.
Congratulations for this great job!
In your opinion, how difficult is it to create an offline-first Web/Desktop/Native application with this project?
Anything that respects these rules?
Beta Was this translation helpful? Give feedback.
All reactions