# remix-run/react-router

Declarative routing for React

Repository: https://github.com/remix-run/react-router
Canonical: https://ross.abutalabs.com/products/react-router
Homepage: https://reactrouter.com
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T17:28:12+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4492, "days_push": 7, "days_rel": 15, "gap_med": 9.5, "n_releases_24m": 67}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 56574, forks 10911 (observed 2026-08-28T04:12:18.482839+00:00)

## What it is
React Router is a multi-strategy routing library for React that can be used as a minimal declarative router or as a full React framework with SSR, data loaders, and type-safe route modules. It is one of the most widely adopted packages in the React ecosystem, maintained under open governance by Shopify.

## Use cases
- add client-side routing to a React SPA
- build a React app with server-side rendering
- handle nested routes and URL parameters in React
- migrate a React app to file-based routing with type-safe route modules
- add data loaders and actions to React routes
- pre-render React pages statically
- upgrade an existing React Router app to the latest version

## When to choose
- you are building a React app that needs URL routing
- you want framework features like SSR, code-splitting, and data loading in React
- you need a battle-tested, hugely popular routing solution with long-term support
- you want incremental adoption from a simple router to a full framework

## When to avoid
- you are not using React (consider framework-native routers instead)
- you need routing for a non-web environment like React Native (use React Navigation)
- you want a zero-dependency minimal setup and don't need routing features beyond basic navigation

## Facets
- artifact type: library
- maturity: stable
- function: routing, web-framework, ssr, middleware
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: react, spa, client-side-routing, vite-plugin, typescript, data-loaders, file-based-routing, nodejs, web-server

## Member repositories
- remix-run/react-router (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:18.482839+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:18:40.906489+00:00, confidence not recorded.
  - readme: https://github.com/remix-run/react-router (fetched 2026-08-28T04:12:18.482839+00:00, sha 57cfa683a095)
  - homepage: https://reactrouter.com (fetched 2026-08-28T18:03:52.783361+00:00, sha f1d4263f8e18)
  - site_page: https://reactrouter.com/home (fetched 2026-08-28T18:03:52.792334+00:00, sha 694dae319dba)
  - site_page: https://reactrouter.com/upgrading/component-routes (fetched 2026-08-28T18:03:52.794454+00:00, sha 3ac9fd9b721d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
