entangle
entangle copied to clipboard
Keep atoms in sync.
The fuzzy patching algorithm provided by clj-diff will do this when trying to apply a patch where the shadow has changed. Should investigate different algorithms or improve clj-diff to work...
When server pushes changes, it doesn't seem to propogate to clients. This can probably be unit-tested.
Maybe it will help or inspire: http://www.infoq.com/presentations/json-patch-stomp
On the client ``` clojure entangle.client=> (swap! textarea (fn [x] (str x " : I SAID HEY"))) "HEY YOU HOW YOU DOING! : I SAID HEY" entangle.client=> Sending diff to...