ReactDom.render() vs createRoot
Setting up a very basic React component and I notice in the console I'm getting an error saying the
"ReactDom.render() is no longer supported in React 18. Use createRoot() instead"
though 18 is the React version I'm on, and it does appear to work...
Do I need to be using createRoot?
0 Replies