Hacker News new | ask | show | jobs
by kukabynd 1627 days ago
Interesting. I’m a potential user. What do you have in mind that would make it a “simple reality”? I totally agree that it’s a mess right now. The hardest part for me was/is the sync and data consistency between syncs and modifications in-between sessions. I’ve used both OT and CRDT and the tooling isn’t simple.
1 comments

I am thinking from a development perspective something like an easy set of React Hooks that essentially allow you to utilize CRDTs etc. without having to know much more about them than the operations available (add, delete, etc.)

From a user perspective, I am thinking that getting support for a local first approach is as simple as installing a Dropbox style service locally that enables storage and syncing across your devices. Applications written in a local first style would automatically then take advantage of this.

I’m working on this. One of the projects part if this journey is https://www.syncedstore.org which was recently on HN (https://news.ycombinator.com/item?id=29483913). Shoot me a message to collaborate on this or similar stuff!
Great! Will have a look.
Ok, now I understand more. I think local-first and single-user mode is easy enough with the tooling we have right now (there are hooks, FS adapters that are almost plug-n-play). The trickiest part is still resolving conflicts/modifications across many sessions that multiple users have across time and lost sync periods.