Skip to content

Commit 694a952

Browse files
committed
Merge pull request #1799 from julen/patch-1
Added note about `renderComponent()` requirement
2 parents 47d3339 + e0c0e20 commit 694a952

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docs/ref-01-top-level-api.md

+5
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ If the React component was previously rendered into `container`, this will perfo
8686

8787
If the optional callback is provided, it will be executed after the component is rendered or updated.
8888

89+
> Note:
90+
>
91+
> `React.renderComponent()` currently replaces the contents of the node.
92+
> This restriction may go away in the future.
93+
8994

9095
### React.unmountComponentAtNode
9196

0 commit comments

Comments
 (0)