From e0c0e20b4927db581de74339a550d206423b56ab 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/docs/ref-01-top-level-api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/docs/ref-01-top-level-api.md b/docs/docs/ref-01-top-level-api.md index c124d7b6cf..c01b416294 100644 --- a/docs/docs/ref-01-top-level-api.md +++ b/docs/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