React Router
A strong pick. 4th of 10 web frameworks.
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
Overall7.9
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- remix.run/blog/react-router-v8: Stable v8 with an upgrade path and a support policy
- npm downloads ratio: Growth below the median
- advisories.last24Months: 20 recent advisories
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
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.
- reactrouter.com/start/modes: Typed route modules and flexible rendering fit full-stack React apps.
- reactrouter.com/start/changelog: Established release cadence through stable 8.5.2.
- 2025.stateofjs.com/en-US/libraries/meta-frameworks: Next.js leads surveyed meta-framework usage.
- nextjs.org/docs/app/getting-started/server-and-client-components: Server Components are standard in the Next.js App Router.
- github.com/remix-run/react-router/security/advisories: Recent disclosures include several issues affecting Framework Mode.
Needed by many6.3
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- dependents.repos: 1.47M dependent repos, the most in the category
- React-only: Framework mode supports only React
GPT-6.2 Sol: 6.6, likely 5.6 to 7.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.
- category.job: Covers full websites and web apps.
- survey.stackoverflow.co/2026/technology/data: React was used by 41.5% of web technology respondents.
- reactrouter.com/start/modes: Framework Mode adds a Vite build and three rendering strategies.
Helps a lot7.8
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- remix.run/blog/react-router-v8: v8 features: middleware, split route modules, instrumentation; RSC still unstable
- thenewstack.io/next-js-react-router-tanstack-when-to-use-each: Comparison of when to pick each React option
- tanstack.com/start/latest/docs/framework/react/comparison: Peer's comparison stresses typegen versus inferred types
GPT-6.2 Sol: 8.5, likely 7.5 to 9.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.
- reactrouter.com/start/modes: Documents generated route types, code splitting, and rendering choices.
- reactrouter.com/how-to/error-boundary: Documents errors handled at route boundaries.
- reactrouter.com/start/changelog: Confirms 8.5.2 and documents installed agent guidance and local docs.
- ascentinnovate.com/insights/nextjs-vs-react-router-2026-ssr-performance: React Router 8.3 and Next.js 16.3 were nearly tied on warm SSR for one page.
- reactrouter.com/how-to/react-server-components: The Server Components integration is experimental.
Holds up over time7.9
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- github commitsLastYear / releasesLastYear: 912 commits and 34 releases in the last year
- remix.run/blog/react-router-v8: Yearly majors, open governance, v6 and Remix v2 end of life, Remix 3 going a separate way
- infoq.com/news/2026/08/react-route-v8: v8 breaking changes; some users skeptical
GPT-6.2 Sol: 8.3, likely 7.1 to 9.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.
- github.commitsLastYear, github.releasesLastYear: 912 commits and 34 releases in the past year.
- github.com/remix-run/react-router/pull/15634: File handling fix merged October 29 and shipped November 18.
- github.com/remix-run/react-router/pull/15621: Navigation fix merged November 17 and shipped the next day.
- shopify.engineering/remix-joins-shopify: Shopify brought the Remix team in-house.
- github.com/remix-run/react-router/blob/main/GOVERNANCE.md: Seven named steering committee members and a public review process.
- reactrouter.com/upgrading/v7: Documents dependency, server context, and adapter changes with a staged upgrade path.
- github.com/remix-run/react-router/discussions/15371: Public v9 planning targets mid-2027.
Used widely7.6
How many use it, and is that growing?
Claude Opus 5.5: 8.5, likely 7.5 to 9.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.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 303.6M against 81.4M, a ratio of about 3.7, below the 4.1 median
- dependents.repos: 1.47M repos, about 4x Next.js, mostly router use
- bluesky posts: 76 posts, against 140 for Next.js
GPT-6.2 Sol: 6.7, likely 5.1 to 8.0
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.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 303.6 million versus 81.4 million core installs, or 3.73× against 4.1×.
- dependents, github.stars, bluesky.posts, project.note: 1.47 million indexed repos, 56,646 stars, and 76 posts cover the router too.
- peers: Next.js grew 6.30× and drew at least 140 Bluesky posts.
- reactrouter.com/api/other-api/dev: Identifies @react-router/dev as the framework build CLI.
- pluginstats.com/plugins/npm/react-router--dev/history: Four weekly CLI observations through November 18 total 15.8 million versus 2.3 million for the matched weeks.
Vouched for7.3
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 5.5 to 8.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.
- 2025.stateofjs.com/en-US/libraries/meta-frameworks: No satisfaction score for React Router; Astro leads
- infoq.com/news/2026/08/react-route-v8: Netlify and Sentry support v8
- Shopify Hydrogen: Hydrogen is built on React Router 7+
GPT-6.2 Sol: 7.6, likely 6.4 to 8.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.
- developers.cloudflare.com/workers/framework-guides/web-apps/react-router: Cloudflare offers a full-stack v8 template for Workers.
- shopify.dev/changelog/blog/hydrogen-2026-10-is-now-available: Current Hydrogen release includes a React Router storefront starter.
- pointdynamics.com/portfolio/druh: The implementation team describes the live React Router v7 storefront.
- reddit.com/r/reactjs/comments/1lhl33w/react_router_v7_or_nextjs_for_building_a: Developers report good production performance and an Auth0 integration workaround.
- 2025.stateofreact.com/en-US/libraries/back-end-infrastructure: The survey lists both names and flags the overlap.
Safe6.4
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- advisories.last24Months: 20 advisories, several high in July 2026
- netlify.com/changelog/2026-07-23-react-router-security-vulnerabilities: Multiple vulnerabilities patched in 7.18.0
- ccb.belgium.be/advisories/warning-high-severity-vulnerabilities-react-router-patch-immediately: Belgian CERT patch-now warning
- scorecard.score: 5.9, with Code-Review at 3 and Token-Permissions and SAST at 0
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
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.
- npm.license, npm.dependencies: MIT license and two direct dependencies for react-router.
- scorecard: 5.9 overall, code review 3, token permissions and fuzzing 0, security policy 10.
- github.com/remix-run/react-router/blob/main/.github/workflows/release.yml: Release workflow is configured for npm Trusted Publishing.
- github.com/remix-run/react-router/security/advisories: Lists the November disclosures missing from the bundle’s recent sample.
- netlify.com/changelog/2026-11-18-react-router-security-vulnerabilities: Verifies patched versions for the core and companion packages.
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
- npm downloads, 4 weeks
- 304M ×3.7 in a year
- GitHub stars
- 57k
- Commits, 12 months
- 912
- npm version
- 8.5.2 Nov 2026
- Versions, 12 months
- 35
- Advisories, 24 months
- 20 of 20 ever
- OpenSSF Scorecard
- 5.9 out of 10, Oct 2026
- Licence
- MIT
Remix became React Router 7. The downloads also count apps that use it only as a router, without the framework.
Read on 21 November 2026 from GitHub (remix-run/react-router), npm (react-router), OSV and the OpenSSF Scorecard.
Web frameworks
- 8.4Astro
- 8.0SvelteKit
- 7.9Next.js
- 7.9React Router
- 7.9Nuxt
- 7.8TanStack Start
- 6.7Eleventy
- 5.5Qwik
- 3.9SolidStart
- 3.4Gatsby