Merge pull request #1799 from julen/patch-1

Added note about `renderComponent()` requirement
This commit is contained in:
Ben Alpert
2014-07-11 14:48:37 -07:00
+5
View File
@@ -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