From eaaeec4b9c8a1dc6c043b6cf3cce8c48ff863231 Mon Sep 17 00:00:00 2001 From: Julen Ruiz Aizpuru Date: Wed, 9 Jul 2014 10:42:39 +0200 Subject: [PATCH] Docs: added note about `renderComponent()` requirement --- docs/ref-01-top-level-api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ref-01-top-level-api.md b/docs/ref-01-top-level-api.md index c124d7b6c..c01b41629 100644 --- a/docs/ref-01-top-level-api.md +++ b/docs/ref-01-top-level-api.md @@ -86,6 +86,11 @@ If the React component was previously rendered into `container`, this will perfo If the optional callback is provided, it will be executed after the component is rendered or updated. +> Note: +> +> `React.renderComponent()` currently replaces the contents of the node. +> This restriction may go away in the future. + ### React.unmountComponentAtNode