Skip to content

Bug: #33435

Open
Open
Bug:#33435
@ClementEXWiki

Description

@ClementEXWiki

I'm having a very specific issue inside a complex project that I can't give a minimal reproduction example of.

Basically I mount a React component using createRoot(document.getElementByid('...')).render(<MyComponent />

For some reason, <MyComponent /> can end up being unmounted due to an error in one of its children.

I know that description is very vague, but do you have any idea what could cause the root element mounted using createRoot().render() to be unmounted? This would be very helpful to try to debug a more precise portion of the code I have.

I haven't found anything in the docs indicating that a component mounted using createRoot().render() could ever be unmounted without explicitly calling .unmount() (which I don't).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions