diff --git a/_js/live_editor.js b/_js/live_editor.js index 964c7447..4370cf85 100644 --- a/_js/live_editor.js +++ b/_js/live_editor.js @@ -122,7 +122,7 @@ var ReactPlayground = React.createClass({ var mountNode = this.refs.mount.getDOMNode(); try { - React.unmountAndReleaseReactRootNode(mountNode); + React.unmountComponentAtNode(mountNode); } catch (e) { } try {