diff --git a/src/react-remote/react-remote-parent.js b/src/react-remote/react-remote-parent.js index e5a934f04..26330b970 100644 --- a/src/react-remote/react-remote-parent.js +++ b/src/react-remote/react-remote-parent.js @@ -280,8 +280,10 @@ var openWindowForComponent = function(Component, options) { break; } } - reactRemoteContainer.removeChild(container); - console.log("Cleaned up react remote window"); + + React.render(React.createElement('div'), container, function() { + reactRemoteContainer.removeChild(container); + }); container = null; thinWindow = null; };