From 735b4f0b7cd4f67f85a5950f35e4adb46ee3d9b4 Mon Sep 17 00:00:00 2001 From: Marshall Roch Date: Fri, 8 Nov 2013 16:57:51 -0800 Subject: [PATCH] Remove transaction from componentWillUpdate It wasn't documented and I think the transaction is supposed to be internal. --- src/core/ReactCompositeComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ReactCompositeComponent.js b/src/core/ReactCompositeComponent.js index a419ea8c21..66787bd36d 100644 --- a/src/core/ReactCompositeComponent.js +++ b/src/core/ReactCompositeComponent.js @@ -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;