Remove transaction from componentWillUpdate
It wasn't documented and I think the transaction is supposed to be internal.
Marshall Roch committed
Nov 8, 2013 at 16:57 UTC
735b4f0b7cd4f67f85a5950f35e4adb46ee3d9b4
1 file changed
+1
-1
src/core/ReactCompositeComponent.js
+1
-1
@@ -758,7 +758,7 @@ var ReactCompositeComponentMixin = {
758
var prevState = this.state;
759
760
if (this.componentWillUpdate) {
761
- this.componentWillUpdate(nextProps, nextState, transaction);
761
+ this.componentWillUpdate(nextProps, nextState);
762
}
763
764
this.props = nextProps;