Docs: added note about `renderComponent()` requirement
Julen Ruiz Aizpuru committed
Jul 9, 2014 at 10:42 UTC
e0c0e20b4927db581de74339a550d206423b56ab
1 file changed
+5
docs/docs/ref-01-top-level-api.md
+5
@@ -86,6 +86,11 @@ If the React component was previously rendered into `container`, this will perfo
86
87
If the optional callback is provided, it will be executed after the component is rendered or updated.
88
89
+> Note:
90
+>
91
+> `React.renderComponent()` currently replaces the contents of the node.
92
+> This restriction may go away in the future.
93
+
94
95
### React.unmountComponentAtNode
96