# React Router: 7.9 out of 10

A strong pick. 4th of 10 in [Web frameworks](https://elestia.ai/opensource/web-frameworks/index.md).

React Router is the most-used React router, and its framework mode (formerly Remix) adds SSR, data loading, actions, middleware and a Vite build. Version 8 is stable and actively maintained. For React teams that want a web-standards framework built on Vite, it is a strong pick. Next.js has the larger framework ecosystem and TanStack Start has stronger built-in type safety.

**Best for:** React teams that want a Vite-based framework with loaders, actions and SSR, or a router they can grow from a single-page app into a full framework.

## Scores

- **Overall: 7.9** (likely 6.9 to 8.9)
  - Claude Opus 5.5 (7.5): It is a strong, well-maintained pick for React apps on Vite, with very wide adoption and a calmer upgrade path now that majors come yearly. It falls short of the category default because Next.js has the bigger framework ecosystem and TanStack Start offers stronger type safety and faster momentum. The 2026 security cluster and past churn also hold it back.
  - GPT-6.2 Sol (8.3): React Router is a strong first choice for form-heavy React apps and teams that want a Vite build with control over hosting. Its typed route modules, flexible rendering, and steady maintenance carry the most weight. Next.js has broader framework adoption and is the stronger choice when React Server Components are central to the app. The pace of framework-specific adoption and the security track record keep React Router below the category’s default-choice tier.
- **Needed by many: 6.3** (likely 5.3 to 7.3)
  - Claude Opus 5.5 (6.0): Nearly every React web app needs routing, and many need the full framework. But it serves only React, which narrows it within a category that also includes Vue, Svelte and framework-agnostic tools. React is still the largest UI ecosystem, which keeps this fairly high.
  - GPT-6.2 Sol (6.6): Routing, rendering, and builds are common needs for web teams, and 41.5% of respondents to the 2026 Stack Overflow web technology question reported using React. Framework Mode serves React teams building whole sites or apps. The survey measures React use, so the share that needs a full framework is less certain.
- **Helps a lot: 7.8** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (7.0): It is mature and capable: nested routes, loaders and actions, middleware, split route modules, type-safe href and several deployment targets. The limits are clear: RSC support is still unstable, types depend on codegen, and its type safety is weaker than TanStack's. A run of framework-mode security bugs also suggests the request-handling edges have been rough.
  - GPT-6.2 Sol (8.5): Version 8.5.2 combines typed route modules, loaders and actions, route-level error boundaries, and flexible rendering. The starter’s agent guidance and bundled docs help agents identify the right mode and API version, though agent accuracy remains unmeasured. An independent single-page benchmark found nearly identical warm server response times to Next.js. React Server Components remain experimental, and performance on larger apps depends on the workload.
- **Holds up over time: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): Activity is high: 912 commits, 34 releases, a fresh 8.5.2 release and only 99 open issues. A yearly major cadence and open governance are also in place, and Shopify employs the core team. Against that, the project has a long history of disruptive rewrites, and Remix 3 is moving away from React. That leaves some doubt about where the team will focus.
  - GPT-6.2 Sol (8.3): The project logged 912 commits and 34 releases in a year, and two fixes merged in late October and November shipped in 8.5.2. A Shopify-backed team and a seven-member steering committee give the project a credible path forward. The planned annual major releases and v8’s ESM and dependency changes add upgrade work even with a staged migration guide. Two recent fixes show active maintenance, while typical issue turnaround and the number of people with release access remain uncertain.
- **Used widely: 7.6** (likely 6.3 to 8.8)
  - Claude Opus 5.5 (8.5): It has 304M downloads in 4 weeks and 1.47M dependent repos, but most of that is router-only use, not the framework. The 3.7x year-on-year ratio is below the 4.1 median, and it is partly inflated because react-router-dom installs now go to react-router. So the real share is slipping, while TanStack Start, Astro and Next.js grow faster.
  - GPT-6.2 Sol (6.7): The core package grew 3.73× year over year, below the 4.1× catalog median and Next.js’s 6.30×. Its 1.47 million indexed dependent repositories, stars, and social attention all include router-only use. Four matched weeks of the Framework Mode CLI grew about 6.9× to 15.8 million downloads, suggesting stronger momentum for the framework. CI and repeat installs still leave the number of apps choosing it uncertain.
- **Vouched for: 7.3** (likely 6.0 to 8.3)
  - Claude Opus 5.5 (7.0): Shopify builds its Hydrogen framework on it and runs it in production, and Netlify and Sentry support v8 from day one. It is the router of countless production React apps. Independent survey data on framework mode is thin: State of JS 2025 lists React Router only in the other-frameworks write-ins, and the developer write-ups are mixed.
  - GPT-6.2 Sol (7.6): Cloudflare ships a React Router v8 Workers starter, and Shopify maintains a Hydrogen starter for Oxygen. The team behind the DRUH storefront reports deploying v7 on Oxygen, and other developers report successful production use alongside some integration friction. The State of React survey listed both React Router and Remix, which makes framework-specific satisfaction hard to read.
- **Safe: 6.4** (likely 5.3 to 7.4)
  - Claude Opus 5.5 (6.0): It has an MIT licence and only 2 dependencies. But 20 advisories in 24 months, including several high-severity issues in framework and RSC mode, show a real attack surface. Fixes shipped promptly and hosts such as Netlify relayed them, but national CERTs had to issue patch-now warnings. The Scorecard is 5.9, with weak Code-Review, Token-Permissions and SAST checks.
  - GPT-6.2 Sol (6.7): The core package is MIT-licensed and has two direct dependencies, and the release workflow documents npm Trusted Publishing. The seven advisories disclosed on November 18 had fixes available for the supported v7 and v8 lines, and 8.5.2 includes those fixes when paired with current companion packages. Repeated server-side issues and a 5.9 OpenSSF Scorecard weigh on the score. Weak code review and token permission checks, plus limited visibility into publisher access, leave room for uncertainty.

## Good

- Its modes grow from a client-side router to a full SSR framework, with the same routes and APIs throughout.
- Loaders, actions, forms and middleware are built on web Fetch standards and deploy to Node, Cloudflare, Netlify and others.
- It is very actively maintained, with 912 commits and 34 releases last year, and v8 brought a yearly major cadence plus open governance.
- Its install base is huge, so docs, examples and AI-agent knowledge are plentiful.

## Bad

- The API has churned a lot over the years: v6, the Remix merger, v7, then v8 going ESM-only and dropping react-router-dom. That has left many old tutorials and confused AI suggestions.
- In 2026 framework mode and RSC mode had a cluster of advisories, several rated high, including CSRF bypass, open redirects and DoS.
- React Server Components support is still unstable, and full route types need a typegen step running during development.
- Downloads grew more slowly than the category median, while TanStack Start, Astro and Next.js grew faster.

## The numbers

- Downloads, 4 weeks: 304M
- In a year: ×3.7
- GitHub stars: 57k
- Commits, 12 months: 912
- Last npm release: Nov 2026
- Advisories, 24 months: 20
- Licence: MIT
- GitHub: https://github.com/remix-run/react-router
- npm: https://www.npmjs.com/package/react-router

Remix became React Router 7. The downloads also count apps that use it only as a router, without the framework.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
