local-first support for craftbase
Opened this issue · 0 comments
meetzaveri commented
Synopsis:
I want craftbase to be local-first rather than cloud-first. Being in local-first would make it accessible over in no internet phase as well. Right now, every action interacts with the database hosted on cloud.
In that case we may need to put efforts into how app relies on the data. There are different ideas/usage I can share
- Create the data store in localStorage. This data store will act as single source of truth for all the business logic actions
- This would disable the collaboration feature since this happens over the cloud.
- In a dual mode, you would like to sync data which was stored when offline , but when you come back online, it gets synced with the cloud. So that you can have sort of integrity for your work.