live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode breaks html-jsx.html
This commit is contained in:
parent
eab2ededdf
commit
e2ebbeac07
|
|
@ -122,7 +122,7 @@ var ReactPlayground = React.createClass({
|
|||
var mountNode = this.refs.mount.getDOMNode();
|
||||
|
||||
try {
|
||||
React.unmountAndReleaseReactRootNode(mountNode);
|
||||
React.unmountComponentAtNode(mountNode);
|
||||
} catch (e) { }
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue