This actually shouldn't be necessary.

This commit is contained in:
David Baker 2016-05-26 16:22:40 +01:00
parent ed835752bc
commit 3a5e37aa84

View file

@ -25,10 +25,6 @@ module.exports = React.createClass({
this._updateChildren(this.props.children);
},
componentWillUnmount: function() {
this._updateChildren([]);
},
componentWillReceiveProps: function(nextProps) {
this._updateChildren(nextProps.children);
},