Update dependency react-dom to v19 #373

Merged
renovate merged 10 commits from renovate/react-dom-19.x into master 2024-12-12 17:08:00 +01:00
Showing only changes of commit ffeb3c1ad4 - Show all commits

View file

@ -1,10 +1,10 @@
import React from "react"; import React from "react";
import ReactDOM from "react-dom"; import ReactDOM from "react-dom/client";
import App from "./app"; import App from "./app";
ReactDOM.render( const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
root.render(
<React.StrictMode> <React.StrictMode>
<App /> <App />
</React.StrictMode>, </React.StrictMode>
document.getElementById("root"),
); );