mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode breaks html-jsx.html
This commit is contained in:
@@ -122,7 +122,7 @@ var ReactPlayground = React.createClass({
|
||||
var mountNode = this.refs.mount.getDOMNode();
|
||||
|
||||
try {
|
||||
React.unmountAndReleaseReactRootNode(mountNode);
|
||||
React.unmountComponentAtNode(mountNode);
|
||||
} catch (e) { }
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user