From 036832a302e0ec5aa57630645caea71ac67e2bf0 Mon Sep 17 00:00:00 2001 From: CT Wu Date: Thu, 13 Oct 2016 23:58:57 +0800 Subject: [PATCH] Fix a typo in the doc (#7969) --- contributing/implementation-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/implementation-notes.md b/contributing/implementation-notes.md index 578771fe..65faed8e 100644 --- a/contributing/implementation-notes.md +++ b/contributing/implementation-notes.md @@ -623,10 +623,10 @@ Instead, we have to unmount the existing internal instance and mount the new one // Unmount the old child and mount a new child prevRenderedComponent.unmount(); var nextRenderedComponent = instantiateComponent(nextRenderedElement); - var nextNode = renderedComponent.mount(); + var nextNode = nextRenderedComponent.mount(); // Replace the reference to the child - this.renderedComponent = renderedComponent; + this.renderedComponent = nextRenderedComponent; // Replace the old node with the new one // Note: this is renderer-specific code and