3 ms·
I believe individual fields are last-writer-wins. Fancier CRDTs like text/lists are not directly supported, but I found that you can layer them on top: https://
by mweidner 3y ago
I believe individual fields are last-writer-wins. Fancier CRDTs like text/lists are not directly supported, but I found that you can layer them on top: https://github.com/mweidner037/list-demos/tree/master/triplit-quill#readme https://github.com/mweidner037/list-demos/tree/master/tripli...
- mainguy 3y agoYeah, docs say last write wins (at the field level though, not the document level).
- matlin 3y agoYep exactly. We also include a [Set CRDT](https://www.triplit.dev/docs/schemas#set https://www.triplit.dev/docs/schemas#set) you can add to any entity. In the future, we'll have an easier way to accomplish what Matt did out of the box so you can create re-orderable lists and collaborative text that are fast and seamlessly handle conflicts automatically