BrowserRouter
On this page

BrowserRouter

Summary

Reference Documentation ↗

A declarative <Router> using the browser History API for client-side routing.

Signature

function BrowserRouter({ basename, children, window }: BrowserRouterProps)

Props

basename

Application basename

children

<Route> components describing your route configuration

window

Window object override - defaults to the global window instance

Docs and examples CC 4.0
Edit