mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1799 from julen/patch-1
Added note about `renderComponent()` requirement
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user