cra-template-tailwindcss
cra-template-tailwindcss copied to clipboard
ReactDOM.render is no longer supported in React 18
The code in index.js currently uses ReactDOM.render, which is no longer supported in React 18. To resolve this issue, a root element should be created using ReactDOM.createRoot before rendering the App component. Additionally, it is now necessary to import ReactDOM from react-dom/client instead of react-dom. Please refer to the attached index.js file for the necessary updates.