mern-boilerplate
mern-boilerplate copied to clipboard
still using react 17
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
This is intentional as there is an existing bug with react-notifications-component and animate.css that causes some rendering issues with React 18. The code to run React 18 is in client/index.js and commented out. You can enable React 18 by uncommenting this code and deleting the old render code.
Issue: https://github.com/teodosii/react-notifications-component/issues/155
I may also decide to remove react-notifications-component in the future if it doesn't get resolved. I will leave issue open for now.