News for hackers. Stuff that matters.
Re:Automerge: A JSON-like data structure (a CRDT) that can b... by manigandham on Monday February 21, 2022 @08:44AM (#30415770)
CRDTs are mathematical data structures being applied here to create a usable JSON API, but they don't perfectly handle every possible mutation to a document.

The most common approach here is to not rewrite the same property but use an array with modifications continually appended. This has the benefit of also supporting undo/redo behavior, while the state can be compressed in snapshots for performance.

There are no comments on this comment yet.