From daaed17d1208c3eaa462e0fa84640aa68685b381 Mon Sep 17 00:00:00 2001 From: jhiswin Date: Sun, 29 Dec 2013 09:42:35 -0500 Subject: [PATCH] live_editor.js using deprecated function unmountAndReleaseReactRootNode -> unmountComponentAtNode breaks html-jsx.html --- _js/live_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {