react-simple-animate
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -65,3 +65,3 @@ 'use strict'; | ||
// only situation that should trigger a re-render | ||
return nextProps.startAnimation !== this.props.startAnimation || nextProps.children !== this.props.children || nextState.animationWillEnd !== this.state.animationWillEnd || nextState.delayWillEnd !== this.state.delayWillEnd || !!nextProps.forceUpdate; | ||
return JSON.stringify(nextProps.startStyle) !== JSON.stringify(this.props.startStyle) || JSON.stringify(nextProps.endStyle) !== JSON.stringify(this.props.endStyle) || nextProps.startAnimation !== this.props.startAnimation || nextProps.children !== this.props.children || nextState.animationWillEnd !== this.state.animationWillEnd || nextState.delayWillEnd !== this.state.delayWillEnd || !!nextProps.forceUpdate; | ||
} | ||
@@ -68,0 +68,0 @@ }, { |
{ | ||
"name": "react-simple-animate", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "react simple animate", | ||
@@ -5,0 +5,0 @@ "main": "lib/animate.js", |
21333
132