github liveblocks/liveblocks v0.13.0
0.13.0

latest releases: v1.12.0, v1.12.0-test2, v1.11.3...
2 years ago

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

Don't miss a new liveblocks release

NewReleases is sending notifications on new releases.