Skip to content

React 19 RC react-dom 不再导出 createRoot #6635

@nnecec

Description

@nnecec

Version of antd-mobile

5.36.1

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

react-dom 19 RC 版本不再导出 createRoot ,放到了 react-dom/client 中导出,会导致 Toast.show 等方法失效。

查看历史 issue 貌似出现了 #5182 中推测可能出现的问题。

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions