4 ms·
In the case the author presents there is one solution - last write wins. Which while simple to implement is not really satisfactory for many use cases. Someone
by Romario77 1y ago
In the case the author presents there is one solution - last write wins. Which while simple to implement is not really satisfactory for many use cases.
Someone could write a whole slew of changes locally and someone else can eliminate all their work because they have an outdated copy locally and they made a simple update overriding the previous person's changes.
That's why git has merges and conflicts - it doesn't want to lose changes and it can't automatically figure out what should stay in case of a conflict.
- fellowniusmonk 1y agoI think anyone going down the path of distributed editing would be well served to start with Loro and an instance of chatgpt to answer questions.