Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nnecec opened this issue Jun 3, 2024 · 2 comments · May be fixed by #6774
Open

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

nnecec opened this issue Jun 3, 2024 · 2 comments · May be fixed by #6774
Labels

Comments

@nnecec
Copy link

nnecec commented Jun 3, 2024

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

@nnecec nnecec added the bug label Jun 3, 2024
@lujun2
Copy link

lujun2 commented Nov 1, 2024

image

Next.js 15 + React 19,已经无法获取到 createRoot 方法了

lujun2 added a commit to lujun2/ant-design-mobile that referenced this issue Nov 1, 2024
@lujun2 lujun2 linked a pull request Nov 1, 2024 that will close this issue
@liangskyli
Copy link
Contributor

是否计划考虑react19的支持?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants