2 ms·
> you can just think of it as a version controlled data structure. Automerge lets you record changes made to data and then replay them in other places This is
by dqpb 4y ago
> you can just think of it as a version controlled data structure. Automerge lets you record changes made to data and then replay them in other places
This is not my understanding of what a CRDT is. From Wikipedia:
> [CRDTs] send their full local state to other replicas, where the states are merged by a function which must be commutative, associative, and idempotent. The merge function provides a join for any pair of replica states, so the set of all states forms a semilattice. The update function must monotonically increase the internal state, according to the same partial order rules as the semilattice.
For those people saying there is no such thing as conflict-free, there is! But only for datatypes that satisfy these constraints.