breaks on react native 0.9.0-rc if you modify props, instead create a new object

This commit is contained in:
Jim Lake 2015-08-07 22:35:57 -07:00
parent 28d482852d
commit cd555535af

View File

@ -80,7 +80,7 @@ var Video = React.createClass({
resizeMode = NativeModules.VideoManager.ScaleNone;
}
var nativeProps = merge(this.props, {
var nativeProps = merge({},this.props, {
style,
resizeMode: resizeMode,
src: {