correct order of params in documentation (#7989)
Phil Quinn committed
Oct 22, 2016 at 21:59 UTC
cf37402338f77929e84dfba863f73ad44c7f6259
1 file changed
+1
-1
docs/contributing/implementation-notes.md
+1
-1
@@ -631,7 +631,7 @@ Instead, we have to unmount the existing internal instance and mount the new one
631
// Replace the old node with the new one
632
// Note: this is renderer-specific code and
633
// ideally should live outside of CompositeComponent:
634
- prevNode.parentNode.replaceChild(prevNode, nextNode);
634
+ prevNode.parentNode.replaceChild(nextNode, prevNode);
635
}
636
}
637
```