react-scroll
Advanced tools
Comparing version 1.7.13 to 1.7.14
#### Changelog | ||
> 1.7.14 | ||
- Removed unsafe warnings | ||
> 1.7.13 | ||
@@ -3,0 +5,0 @@ - Removed deprecated warnings, Ensure 'begin' event fires on all scroll events. |
@@ -284,6 +284,6 @@ "use strict"; | ||
}, { | ||
key: 'UNSAFE_componentWillReceiveProps', | ||
value: function UNSAFE_componentWillReceiveProps(nextProps) { | ||
if (this.props.name !== nextProps.name) { | ||
this.registerElems(nextProps.name); | ||
key: 'componentDidUpdate', | ||
value: function componentDidUpdate(prevProps) { | ||
if (this.props.name !== prevProps.name) { | ||
this.registerElems(this.props.name); | ||
} | ||
@@ -290,0 +290,0 @@ } |
@@ -59,6 +59,6 @@ 'use strict'; | ||
}, { | ||
key: 'UNSAFE_componentWillReceiveProps', | ||
value: function UNSAFE_componentWillReceiveProps(nextProps) { | ||
if (this.props.name !== nextProps.name) { | ||
this.registerElems(nextProps.name); | ||
key: 'componentDidUpdate', | ||
value: function componentDidUpdate(prevProps) { | ||
if (this.props.name !== prevProps.name) { | ||
this.registerElems(this.props.name); | ||
} | ||
@@ -65,0 +65,0 @@ } |
{ | ||
"name": "react-scroll", | ||
"version": "1.7.13", | ||
"version": "1.7.14", | ||
"description": "A scroll component for React.js", | ||
@@ -5,0 +5,0 @@ "main": "modules", |
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
100675