Freeze a draft doc into a published layer. Pure with respect to the draft: the Y.Doc is read, never mutated — publishing again after more edits produces a new layer with a new id.
Freeze a draft doc into a published layer. Pure with respect to the draft: the Y.Doc is read, never mutated — publishing again after more edits produces a new layer with a new id.