mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
commit
7b97d8d58f
1 file changed
+1
-1
@@ -315,7 +315,7 @@ var ReactMultiChild = {
|
||||
ReactChildReconciler.unmountChildren(prevChildren);
|
||||
for (var name in prevChildren) {
|
||||
if (prevChildren.hasOwnProperty(name)) {
|
||||
this._unmountChildByName(prevChildren[name], name);
|
||||
this._unmountChild(prevChildren[name]);
|
||||
}
|
||||
}
|
||||
this.setMarkup(nextMarkup);
|
||||
|
||||
Reference in new issue
Block a user