mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Docs: 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