From 24dd09fea7e855f96d1b5a033c4b934b9b40d7ed Mon Sep 17 00:00:00 2001 From: Phil Quinn Date: Sat, 22 Oct 2016 21:59:54 +0100 Subject: [PATCH] correct order of params in documentation (#7989) --- docs/contributing/implementation-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/implementation-notes.md b/docs/contributing/implementation-notes.md index bf0be37b05..d236f4ee92 100644 --- a/docs/contributing/implementation-notes.md +++ b/docs/contributing/implementation-notes.md @@ -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); } } ```