4 ms·
I'm currently using json patch in a work project for undo/redo. The patches and their inverse are being collected by `immer`, which can hand you a proxy and re
by dunham 2y ago
I'm currently using json patch in a work project for undo/redo. The patches and their inverse are being collected by `immer`, which can hand you a proxy and record changes made to it.
My plan was to dig up an operational transform implementation on json patches to implement collaborative editing when we decided we need that feature (we don't need fine grained editing of text, but we do have arrays of objects).
I'm now evaluating automerge - it seems to be performant enough and not likely to disappear.
(I can implement OT, but I won't be on this project forever and need to leave something that less senior devs can work with and maintain.)