Batching and new subscription system
See release notes of https://github.com/liveblocks/liveblocks/releases/tag/v0.13.0-beta.1
Bug fix
Fix an issue when no modification is made during a batch.
Old behavior:
root.set("x", 0);
root.set("x", 1);
room.batch(() => { }); // Add an entry to the undo/redo stack even if no modification is made.
room.undo();
// root.get("x") === 1
New behavior:
root.set("x", 0);
root.set("x", 1);
room.batch(() => { });
room.undo();
// root.get("x") === 0