Update API docs for unmountAndReleaseReactRootNode
Paul O’Shannessy committed
Oct 26, 2013 at 17:38 UTC
10f3d93df728274685b3ce16468862199b6876ff
1 file changed
+6
-2
docs/docs/ref-01-top-level-api.md
+6
-2
@@ -53,14 +53,18 @@ If the React component was previously rendered into `container`, this will perfo
53
If the optional callback is provided, it will be executed after the component is rendered or updated.
54
55
56
-### React.unmountAndReleaseReactRootNode
56
+### React.unmountComponentAtNode
57
58
```javascript
59
-unmountAndReleaseReactRootNode(DOMElement container)
59
+unmountComponentAtNode(DOMElement container)
60
```
61
62
Remove a mounted React component from the DOM and clean up its event handlers and state.
63
64
+> Note:
65
+>
66
+> This method was called `React.unmountAndReleaseReactRootNode` until v0.5. It still works in v0.5 but will be removed in future versions.
67
+
68
69
### React.renderComponentToString
70