реагировать 18
npm install react@latest react-dom@latest
DevPedrada
npm install react@latest react-dom@latest
import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(<App />);