Skip to content

Bug: In the unmount function returned by createRoot, an imprecise comparison statement causes the first unmount failed, affecting subsequent program operations. #33460

Open
@swqddx

Description

@swqddx
Image Image

React version: 19.1.0

Steps To Reproduce

  1. Start a react app, and unmount, it failed.
    This can cause some problems when applied as a multi-instance child in a micro frontend

Link to code example:

The current behavior

The expected behavior

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