automerge / hypermerge

Build p2p collaborative applications without any server infrastructure in Node.js
MIT License
1.28k stars 66 forks source link

CursorStore #41

Closed mjtognetti closed 4 years ago

mjtognetti commented 4 years ago

Removes cursor management from Metadata.ts and uses a CursorStore instead.

Notably, also removes RemoteMetadata messages and replaces them with CursorMessages. Naming is up for grabs - these messages actually include Clocks and Cursors, but DocumentMessage was already take. We replaced RemoteMetadata because it didn't make sense (i.e. impossible) to contort cursors into the old model of separate actors/merges