Tweak wording a bit on `renderComponent` note
Ben Alpert committed
Jul 11, 2014 at 14:50 UTC
7e4489421979a08cee852ee97d10529f404a8c97
1 file changed
+3
-2
docs/docs/ref-01-top-level-api.md
+3
-2
@@ -88,8 +88,9 @@ If the optional callback is provided, it will be executed after the component is
88
89
> Note:
90
>
91
-> `React.renderComponent()` currently replaces the contents of the node.
92
-> This restriction may go away in the future.
91
+> `React.renderComponent()` replaces the contents of the container node you
92
+> pass in. In the future, it may be possible to insert a component to an
93
+> existing DOM node without overwriting the existing children.
94
95
96
### React.unmountComponentAtNode