Skip to content

react-is breaking change, re AsyncMode #13958

Closed
@ljharb

Description

@ljharb

It seems like react-is v16.6 no longer is compatible with React v16.3 - v16.5, in that React v16.3 - v16.5 will use Symbol(react.async_mode), but react-is's AsyncMode export will instead be Symbol(react.concurrent_mode).

It seems like the async mode symbol needs to remain the same in react-is 16.6+, and the isAsyncMode function would need to check both the AsyncMode and ConcurrentMode symbols.

Metadata

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