React Router

<BrowserRouter>
  <Routes>
    <Route
      path="/"
      element={
        <div>
          <h1>Hello World</h1>
        </div>
      }
    ></Route>
    <Route
      path="/about"
      element={
        <div>
          <h1>About React</h1>
        </div>
      }
    ></Route>
  </Routes>
</BrowserRouter>

ref

What Else?
inflearn react api server -50% 할인쿠폰: 15108-f2af1e086101 buy me a coffee