mern-boilerplate icon indicating copy to clipboard operation
mern-boilerplate copied to clipboard

still using react 17

Open Soneji opened this issue 1 year ago • 2 comments

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

Soneji avatar Nov 04 '22 12:11 Soneji

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 avatar Nov 21 '22 19:11 djizco

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.

djizco avatar Nov 21 '22 19:11 djizco