mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #1799 from julen/patch-1
Added note about `renderComponent()` requirement
This commit is contained in:
commit
694a952d26
1 file changed
+5
@@ -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