Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/swift-cells-commit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@joint/react": patch
---

<GraphProvider /> - rewrite the cells container as a lazy, memoised, Map-backed immutable snapshot: commits are O(change-set) instead of O(n), uncontrolled drags are ~2x faster and consumers receive stable array references
5 changes: 5 additions & 0 deletions .changeset/wide-graphs-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@joint/react": minor
---

useGraph - `removeCells()` and `resetCells()` accept a JointJS cell collection (e.g. a selection's `collection`) directly, without `.toArray()`; adds the `CellCollection` and `CellRefList` types