Remove transaction from componentWillUpdate

It wasn't documented and I think the transaction is supposed to be internal.
This commit is contained in:
Marshall Roch
2013-11-11 16:39:25 -08:00
committed by Paul O’Shannessy
parent 1e71df5399
commit 735b4f0b7c
+1 -1
View File
@@ -758,7 +758,7 @@ var ReactCompositeComponentMixin = {
var prevState = this.state;
if (this.componentWillUpdate) {
this.componentWillUpdate(nextProps, nextState, transaction);
this.componentWillUpdate(nextProps, nextState);
}
this.props = nextProps;