New: Intelligent Flashcards spaced-repetition decks for every topic, built to make things actually stick.
What is the job of <BrowserRouter> in a React app?
<BrowserRouter>
It keeps the whole route in the part of the URL after a #, so the server only ever sees the base path.
It uses the browser History API to keep the URL in sync with your UI, without a full page reload.
It downloads each page fresh from the server on every URL change.