Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Attaching a node to document.body freezes the page #128

Open
torabiho opened this issue May 22, 2018 · 1 comment
Open

Attaching a node to document.body freezes the page #128

torabiho opened this issue May 22, 2018 · 1 comment

Comments

@torabiho
Copy link

torabiho commented May 22, 2018

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant