crdt-example-app
crdt-example-app copied to clipboard
[question] Is it possible to subscribe dynamically to ToDo notes?
For example, Bob shares the link to subscribe on note22, Alice subscribes on note22. Now Alice gets all updates on note22.
Before: Alice -note11 -note12 -note13
Bob -note21 -note22
After: Alice -note11 -note12 -note13 -note22
Bob -note21 -note22
One of the approaches is that every user has own Merkle tree, and when Alice subscribes on note22, we insert timestamps of note22 to the Alice Merkle tree, so she will get an update on the next sync.