Router
react-router

Router

Router(props): React.ReactElement | null

Provides location context for the rest of the app.

Note: You usually won't render a <Router> directly. Instead, you'll render a router that is more specific to your environment such as a <BrowserRouter> in web browsers or a <StaticRouter> for server rendering.

Parameters

Docs and examples CC 4.0