Comment by seansh

1 year ago

No it's not CRDT. I opted for something far simpler:

if (a.modification_time > b.modification_time) ...

that's all. Like some other features I originally planned to implement CRDT but then realized I don't miss it. Since this is not a collaborative editor with multiple users editing the same note, CRDT is not that useful. I think the only situation in which you'd want CRDT for a private note taking app is if you're editing the same note from multiple devices while all are offline.