Open haobarry opened 1 year ago
控制台报错 Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
https://codesandbox.io/s/bitter-field-nc8vty?file=/index.tsx
遇到了同样的bug
这个项目是废弃了吗?
控制台报错 Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
https://codesandbox.io/s/bitter-field-nc8vty?file=/index.tsx