@adaptabletools/adaptable-react-aggrid-cjs 19.0.1 → 19.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-react-aggrid-cjs",
3
- "version": "19.0.1",
3
+ "version": "19.0.3",
4
4
  "description": "React version of AdapTable - the powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [],
6
6
  "license": "contact sales@adaptabletools.com for details",
@@ -8,7 +8,7 @@
8
8
  "typings": "src/index.d.ts",
9
9
  "dependencies": {
10
10
  "tslib": "^2.3.0",
11
- "@adaptabletools/adaptable-cjs": "19.0.1"
11
+ "@adaptabletools/adaptable-cjs": "19.0.3"
12
12
  },
13
13
  "peerDependencies": {
14
14
  "react": "^18.0.0",
@@ -105,6 +105,7 @@ const AdaptableAgGridReact = (props) => {
105
105
  const propsRef = React.useRef(props);
106
106
  React.useEffect(() => {
107
107
  const prevProps = propsRef.current;
108
+ propsRef.current = props;
108
109
  if (isAgGridReady && agGridApi && prevProps !== props) {
109
110
  const changedProps = (0, ObjectExtensions_1.diff)(prevProps, props);
110
111
  for (const changedProp of changedProps) {