React Router is a multi-strategy router for React. You can use it maximally as a React framework or minimally as a library with your own architecture.
Back to gallery
Editor's take
The default React router. ~53k stars. v7 merged Remix into React Router so it now also does data loading and form actions. Best choice for React SPAs and SSR apps not on Next.js.
Use this if
You are building a React SPA or non-Next.js SSR app — this is the default.
Skip if
You are on Next.js or TanStack Start — they have their own routers.
Routing
Quick install
# Install via npm / pnpm / bun: pnpm add react-router # or npm install react-router
Inferred from TypeScript · always double-check against the official README below.
README — rendered from remix-run/react-router
Live data via GitHub REST API · Cached 30 min · Created 17 May 2014