
About React Router
React Router is a routing library for React apps. It maps URLs to screens and lets each screen load its own data, and it can grow from simple client-side routing into full framework features.
What it does
It matches the address in the browser to the right component and keeps the URL in sync with the screen. Routes can be nested, so a shared layout stays on the page while child screens change. Each route can load the data it needs before it renders, which reduces loading states inside components.
Key features
- Nested routes and shared layouts
- Data loading tied to each route
- Framework features you can add to an existing app
- Open proposals that shape what gets built next
Who it's for
React developers who need dependable URLs, navigation and page data. It suits small single-page apps and larger products that want to move some work to the server over time without rewriting the whole app.
Pricing and good to know
The library is open source under the MIT licence and free to use. The current upgrade line requires Node 22 or newer, Vite 7 or newer and React 19 or newer, and it is published as ES modules only.
Highlights
- Nested routes with shared layouts
- Load data for each route before it renders
- Add framework features to an existing app step by step
- Community proposals on GitHub guide new work












