mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove transaction from componentWillUpdate
It wasn't documented and I think the transaction is supposed to be internal.
This commit is contained in:
committed by
Paul O’Shannessy
parent
1e71df5399
commit
735b4f0b7c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user