Title
#share-your-work
Yousef El-Dardiry

Yousef El-Dardiry

12/08/2021, 12:43 PM
Hi all! I’ve been diving into CRDT tech lately to build local-first collaborative apps. So far I had a great experience with Yjs - but I found the API a bit cumbersome. I’ve been working a new open source library to make it really easy to work with state that’s shared across multiple users and that syncs automatically. It supports React, Vue, Svelte, or plain javascript. By using Javascript Proxies, the API looks just like a regular app, e.g.:
store.todos.push( { completed: true, title: "write code" } );
- and the Reactive Programming model makes it effortless to listen to changes. Anway, I just put it live on https://syncedstore.org/ - would really welcome your feedback! PS: it’s also on HN (see “show” page), comments / votes there are always appreciated to help a fellow FoCer 😉
❤️ 4
👋 2
4
Florian Schulz

Florian Schulz

12/11/2021, 5:39 AM
I think this is a perfect use case for Proxies! Because there’s no new API for modifying data structures, the sync behavior can even be implemented (enabled) into an existing application retrospectively. Looking forward to give it a try!
❤️ 1
ogadaki

ogadaki

12/13/2021, 6:27 PM
Looks very interesting! How does it compare to automerge?
Florian Schulz

Florian Schulz

12/15/2021, 5:36 AM