component-playground icon indicating copy to clipboard operation
component-playground copied to clipboard

Attaching a node to document.body freezes the page

Open torabiho opened this issue 7 years ago • 1 comments

Hi The component I'm working on is supposed to attach a node to doument.body using createPortal from react-dom and it works perfectly fine outside of playground, but as soon as playgorund tries to run it the entire page freezes and I have to close the tab.

I get this message paused before potential out of memory crash with this line highlighted in the react-dom-server.browser.development.js file:

while (out.length < bytes) {

Thanks for the help :)

torabiho avatar May 22 '18 15:05 torabiho

screen shot 2018-05-22 at 11 41 25 am

torabiho avatar May 22 '18 15:05 torabiho