mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Tweak wording a bit on renderComponent note
This commit is contained in:
1 parent
694a952d26
commit
7e44894219
1 file changed
+3
-2
@@ -88,8 +88,9 @@ If the optional callback is provided, it will be executed after the component is
|
||||
|
||||
> Note:
|
||||
>
|
||||
> `React.renderComponent()` currently replaces the contents of the node.
|
||||
> This restriction may go away in the future.
|
||||
> `React.renderComponent()` replaces the contents of the container node you
|
||||
> pass in. In the future, it may be possible to insert a component to an
|
||||
> existing DOM node without overwriting the existing children.
|
||||
|
||||
|
||||
### React.unmountComponentAtNode
|
||||
|
||||
Reference in new issue
Block a user