ant-design-mobile
ant-design-mobile copied to clipboard
React 19 RC react-dom 不再导出 createRoot
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 貌似出现了 https://github.com/ant-design/ant-design-mobile/pull/5182 中推测可能出现的问题。
Relevant log output
No response