Tweak wording a bit on renderComponent note

This commit is contained in:
Ben Alpert committed 2014-07-11 14:50:46 -07:00
1 parent 694a952d26
commit 7e44894219
1 file changed
+3 -2
+3 -2
View File
@@ -88,8 +88,9 @@ If the optional callback is provided, it will be executed after the component is
> Note:
>
> `React.renderComponent()` currently replaces the contents of the node.
> This restriction may go away in the future.
> `React.renderComponent()` replaces the contents of the container node you
> pass in. In the future, it may be possible to insert a component to an
> existing DOM node without overwriting the existing children.
### React.unmountComponentAtNode