Build a single-page app where different URLs show different React components without full page reloads.
Add navigation to an existing React application without restructuring your entire codebase.
Create a multi-page website where the browser URL updates as users move between sections.
React Router is a library for handling navigation and URL routing inside React applications. Routing means deciding which page or component to show based on the URL in the browser, for example, showing a profile page when someone visits /profile and a home page at /. The README describes it as a "multi-strategy router," meaning it can be used either as a full React framework that takes over the whole application structure, or as a minimal library that plugs into your own setup. It supports React 18 and React 19. The README does not go into further detail about specific features or configuration beyond listing its component packages.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.