correct order of params in documentation (#7989)

This commit is contained in:
Phil Quinn
2016-10-22 22:04:36 +01:00
committed by Dan Abramov
parent 1d108d8f6a
commit 24dd09fea7
+1 -1
View File
@@ -631,7 +631,7 @@ Instead, we have to unmount the existing internal instance and mount the new one
// Replace the old node with the new one
// Note: this is renderer-specific code and
// ideally should live outside of CompositeComponent:
prevNode.parentNode.replaceChild(prevNode, nextNode);
prevNode.parentNode.replaceChild(nextNode, prevNode);
}
}
```