@handsontable/react-wrapper 0.0.0-next-52c95e3-20260921 → 0.0.0-next-125a685-20260922

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.
@@ -1225,7 +1225,7 @@ var HotColumn = function HotColumn(props) {
1225
1225
  }, editorPortal);
1226
1226
  };
1227
1227
 
1228
- var version="0.0.0-next-52c95e3-20260921";
1228
+ var version="0.0.0-next-125a685-20260922";
1229
1229
 
1230
1230
  /**
1231
1231
  * Component used to manage the renderer component portals.
@@ -2660,7 +2660,10 @@ var HotTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
2660
2660
  var _props$id;
2661
2661
  var children = _ref.children,
2662
2662
  props = _objectWithoutProperties(_ref, _excluded);
2663
- var componentId = (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : useId();
2663
+ // `useId()` must run unconditionally on every render (never only when `id` is missing), or React
2664
+ // sees a different hook count between renders and throws "Rendered fewer hooks than expected".
2665
+ var generatedId = useId();
2666
+ var componentId = (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : generatedId;
2664
2667
  return /*#__PURE__*/React.createElement(HotTableContextProvider, null, /*#__PURE__*/React.createElement(HotTableInner, _extends({
2665
2668
  id: componentId
2666
2669
  }, props, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsontable/react-wrapper",
3
- "version": "0.0.0-next-52c95e3-20260921",
3
+ "version": "0.0.0-next-125a685-20260922",
4
4
  "description": "Best Data Grid for React with Spreadsheet Look and Feel.",
5
5
  "author": "Handsoncode <hello@handsoncode.net> (https://handsoncode.net)",
6
6
  "homepage": "https://handsontable.com",
@@ -73,7 +73,7 @@
73
73
  "@types/react-dom": "^18.2.0",
74
74
  "@types/react-redux": "^7.1.7",
75
75
  "cross-env": "^7.0.3",
76
- "handsontable": "0.0.0-next-52c95e3-20260921",
76
+ "handsontable": "0.0.0-next-125a685-20260922",
77
77
  "jest": "^27.5.1",
78
78
  "jest-environment-jsdom": "^27.5.1",
79
79
  "prop-types": "^15.7.2",
@@ -88,7 +88,7 @@
88
88
  "uglify-js": "^3.4.9"
89
89
  },
90
90
  "peerDependencies": {
91
- "handsontable": "0.0.0-next-52c95e3-20260921"
91
+ "handsontable": "0.0.0-next-125a685-20260922"
92
92
  },
93
93
  "scripts": {
94
94
  "build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:min && npm run prepare:types",