YousefED / SyncedStore

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

rxjs binding #43

Open ChasLui opened 2 years ago

ChasLui commented 2 years ago

Thanks to SyncedStore for the results. Are there any plans to bundle SyncStore with rxjs?

echarles commented 2 years ago

I asked myself the same question a few days ago, and maybe a way to connect with rxjs is enabling the mobx integration (https://syncedstore.org/docs/advanced/mobx) and then using the mobx-utils toStream https://github.com/mobxjs/mobx-utils#tostream

This sound more like theory and I am interested to see it for real.

YousefED commented 2 years ago

This would be interesting indeed! The way @echarles mentions probably works.

If there's more interest for this, I'll look into adding direct support for rxjs to SyncedStore. I'll keep this issue open to gauge interest!