Browse Source

Merge pull request #1799 from julen/patch-1

Added note about `renderComponent()` requirement
main
Ben Alpert 11 years ago
parent
commit
6bfdf6b6a6
  1. 5
      docs/ref-01-top-level-api.md

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

@ -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

Loading…
Cancel
Save