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

Description

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 :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions