@jetbrains/ring-ui-built 6.0.76 → 6.0.77
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/components/list/list.js +3 -1
- package/package.json +1 -1
package/components/list/list.js
CHANGED
@@ -486,7 +486,9 @@ var List = /*#__PURE__*/function (_Component) {
|
|
486
486
|
key: "shouldComponentUpdate",
|
487
487
|
value: function shouldComponentUpdate(nextProps, nextState) {
|
488
488
|
var _this2 = this;
|
489
|
-
return
|
489
|
+
return Object.keys(nextProps).some(function (key) {
|
490
|
+
return !Object.is(nextProps[key], _this2.props[key]);
|
491
|
+
}) || Object.keys(nextState).some(function (key) {
|
490
492
|
return nextState[key] !== _this2.state[key];
|
491
493
|
});
|
492
494
|
}
|