DEV Community

Phinehas Alabi
Phinehas Alabi

Posted on

Deprecation notice: ReactDOM.render is no longer supported in React 18

For typescript go with the below:

const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement); root.render( );

Top comments (0)