This actually shouldn't be necessary.
This commit is contained in:
parent
ed835752bc
commit
3a5e37aa84
1 changed files with 0 additions and 4 deletions
|
@ -25,10 +25,6 @@ module.exports = React.createClass({
|
|||
this._updateChildren(this.props.children);
|
||||
},
|
||||
|
||||
componentWillUnmount: function() {
|
||||
this._updateChildren([]);
|
||||
},
|
||||
|
||||
componentWillReceiveProps: function(nextProps) {
|
||||
this._updateChildren(nextProps.children);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue