Loro @loro.dev · Jun 9

New in Loro: Mergeable Containers! Concurrent Map child container creations no longer overwrite. This surprising overwrite issue existed in Loro, Yjs, and Automerge. Happy to finally ship a solution!

11 likes 1 replies

?

Replies

Loro · Jun 9

Root cause: normal child Container IDs include an OpId. So if two peers create a child container concurrently, they get different IDs. When both write to the same LoroMap key, one child can overwrite the other.