Closed zandiarash closed 2 years ago
According to this link : https://reactjs.org/link/switch-to-createroot "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"
According to this link : https://reactjs.org/link/switch-to-createroot "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"