YousefED / SyncedStore

SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
https://syncedstore.org
MIT License
1.74k stars 53 forks source link

Consider Svelte? #20

Closed canadaduane closed 2 years ago

canadaduane commented 3 years ago

Has anyone looked at Svelte integration? It seems like a natural fit. I wrote https://svelt-yjs.dev/ which is also an attempt at making yjs easier to use for Svelte, but I like this approach better.

YousefED commented 3 years ago

Hi @canadaduane! Sounds like a good idea. I'm not that familiar with the Svelte internals and how its reactivity system works.

For other frameworks (mobx, vue, reactive), the bindings are defined here; https://github.com/YousefED/reactive-crdt/blob/main/packages/yjs-reactive-bindings/src/observableProvider.ts. Welcome to give it a go for Svelte!

YousefED commented 2 years ago

Svelte support has just been added in #25. Still needs to be added to the documentation website, but for now I'm closing this

YousefED commented 2 years ago

@canadaduane looking forward to your feedback!

canadaduane commented 2 years ago

Very cool! I'll try to take a look soon. Exciting!