react-split-pane
Advanced tools
Comparing version 0.1.72 to 0.1.74
@@ -27,6 +27,2 @@ 'use strict'; | ||
var _fastDeepEqual = require('fast-deep-equal'); | ||
var _fastDeepEqual2 = _interopRequireDefault(_fastDeepEqual); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -56,9 +52,2 @@ | ||
_createClass(Pane, [{ | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
var currentState = this.state; | ||
var currentProps = this.props; | ||
return !(0, _fastDeepEqual2.default)(currentProps, nextProps) || !(0, _fastDeepEqual2.default)(currentState, nextState); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -65,0 +54,0 @@ value: function render() { |
@@ -26,6 +26,2 @@ 'use strict'; | ||
var _fastDeepEqual = require('fast-deep-equal'); | ||
var _fastDeepEqual2 = _interopRequireDefault(_fastDeepEqual); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -53,9 +49,2 @@ | ||
_createClass(Resizer, [{ | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
var currentState = this.state; | ||
var currentProps = this.props; | ||
return !(0, _fastDeepEqual2.default)(currentProps, nextProps) || !(0, _fastDeepEqual2.default)(currentState, nextState); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -62,0 +51,0 @@ value: function render() { |
@@ -61,4 +61,4 @@ 'use strict'; | ||
var SplitPane = function (_React$PureComponent) { | ||
_inherits(SplitPane, _React$PureComponent); | ||
var SplitPane = function (_React$Component) { | ||
_inherits(SplitPane, _React$Component); | ||
@@ -375,3 +375,3 @@ function SplitPane() { | ||
return SplitPane; | ||
}(_react2.default.PureComponent); | ||
}(_react2.default.Component); | ||
@@ -378,0 +378,0 @@ SplitPane.propTypes = { |
@@ -6,3 +6,3 @@ { | ||
"types": "index.d.ts", | ||
"version": "0.1.72", | ||
"version": "0.1.74", | ||
"repository": { | ||
@@ -28,3 +28,2 @@ "type": "git", | ||
"@types/react": "^16.0.18", | ||
"fast-deep-equal": "^1.0.0", | ||
"inline-style-prefixer": "^3.0.6", | ||
@@ -31,0 +30,0 @@ "prop-types": "^15.5.10", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151423
5
586
- Removedfast-deep-equal@^1.0.0
- Removedfast-deep-equal@1.1.0(transitive)