Compare commits

..

No commits in common. "7025f316de2a8ecc738e64acc17708c4eaca9f88" and "017b6445fbcc67c07a2bb20e6c4e7e39a5133e1c" have entirely different histories.

4 changed files with 3 additions and 9 deletions

View File

@ -1,11 +1,5 @@
# @warkypublic/zustandsyncstore
## 0.0.23
### Patch Changes
- 3205411: Using the effect of array as feature.
## 0.0.22
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@warkypublic/oranguru",
"author": "Warky Devs",
"version": "0.0.23",
"version": "0.0.22",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -231,7 +231,7 @@ export const GridlerDataGrid = () => {
rows = rows.hasIndex(r) ? rows : rows.add(r);
}
}
console.log('Debug:onGridSelectionChange', currentSelection, selection);
if (
JSON.stringify(currentSelection?.columns) !== JSON.stringify(selection.columns) ||
JSON.stringify(currentSelection?.rows) !== JSON.stringify(rows) ||

View File

@ -142,7 +142,7 @@ export const Computer = React.memo(() => {
onChange(buffers);
}
}
}, [_gridSelectionRows, _gridSelectionRows?.length, getState]);
}, [JSON.stringify(_gridSelectionRows), getState]);
useEffect(() => {
setState(