cra-template-tailwindcss icon indicating copy to clipboard operation
cra-template-tailwindcss copied to clipboard

ReactDOM.render is no longer supported in React 18

Open tanujpatra228 opened this issue 1 year ago • 0 comments

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.

index.zip

tanujpatra228 avatar Mar 13 '23 19:03 tanujpatra228