@opencorestack/opengridx 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/opengridx.es.js +492 -492
- package/dist/opengridx.es.js.map +1 -1
- package/dist/opengridx.umd.js +6 -6
- package/dist/opengridx.umd.js.map +1 -1
- package/lib/components/DataGrid/DataGrid.tsx +26 -19
- package/llms.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [2.0.2] — 2026-09-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Infinite re-render loop with `rowGroupingModel` + `groupingColDef`** — when both were active,
|
|
13
|
+
`activeColumns` and `effectivePinnedColumns` were rebuilt as new object/array references on every
|
|
14
|
+
render. The new references cascaded through `useRowGrouping`'s memoized values and a `useEffect`
|
|
15
|
+
that called `setExpandedGroupIds`, triggering a render → new references → effect → `setState`
|
|
16
|
+
cycle that never settled (`Maximum update depth exceeded`). Both values are now wrapped in
|
|
17
|
+
`useMemo` so their references only change when their actual inputs change.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
8
21
|
## [2.0.1] — 2026-09-08
|
|
9
22
|
|
|
10
23
|
### Documentation
|