Open limingxxoo opened 6 months ago
@limingxxoo 同学,你的react/react-dom版本号发一下呢,看起来是用的react18对吧?
@limingxxoo 同学,你的react/react-dom版本号发一下呢,看起来是用的react18对吧?
对18, "react": "^18.2.0", "react-dom": "^18.2.0",
@limingxxoo 这个问题已复现并修复,本周发个正式版~ https://github.com/arco-design/arco-design-mobile/pull/231
@arco-design/mobile-react@2.30.9
已发布
Basic Info
Dialog调confirm方法时,传unmountOnExit为false提示警告:Warning: You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.
传unmountOnExit为true没问题