Новый синтаксис маршрутов маршрутизатора

import { BrowserRouter as Router, Routes, Route, Link } from "react-router-dom";

<Routes>
    <Route path="/home" element={<Home/>} />
</Routes>
Shiny Shark