You are calling ReactDOMClient.createRoot() on a container that has already been passed-CSDN博客

网站介绍:文章浏览阅读3.1k次。控制台问题:index.js处理方案调用subscribe 监控 时 不再创建就行 下一行就行const root = ReactDOM.createRoot(document.getElementById(‘root’));_you are calling reactdomclient.createroot() on a container that has already