每一次输入都会合并,没有锁定文档,也没有冲突弹窗。
基于 Yjs CRDT,每次编辑都有身份、向量时钟和确定性的合并路径。
YjsHocuspocusRedis sync
Two people on the same word? Both edits keep identity, order, and a deterministic merge path.
A+ "ship the beta"12:04:22.118
D~ "early access" -> + "beta cohort"12:04:22.141
P+ "on May 12"12:04:22.163
-> merged ship the beta cohort on May 12