djizco / mern-boilerplate

A Full MERN Stack Boilerplate for Web Apps including a local authentication system. Uses React, Express.js, MongoDB, Redux, Passport.js, Webpack, Testing, and more.
MIT License
273 stars 93 forks source link

still using react 17 #12

Open Soneji opened 2 years ago

Soneji commented 2 years 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

djizco commented 1 year ago

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

djizco commented 1 year ago

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.