Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

React Router vs TanStack Router

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, React Router is a dependency in 293 (6.0%) and TanStack Router in 52 (1.1%): React Router is 5.6× as common. Among repos created in the last 90 days that use a web frameworks tool, React Router is in 6.6% and TanStack Router in 4.1%, against 11.6% and 1.9% of older ones. 1 project lists both, often a sign of a migration or of a monorepo with several apps.

Web frameworks npm Updated Nov 17, 2026

React Router6.0%
TanStack Router1.1%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

React RouterTanStack Router
Agent projects that use it29352
Rank in web frameworks#4#13
In new repos with a web frameworks tool (last 90 days)6.6%4.1%
In older repos with one11.6%1.9%
Downloads, last 7 days57.5M25.9M
GitHub stars56.6K15.3K
Last push to its repoNov 17, 2026Nov 17, 2026
LicenseMITMIT
FundingYes—
Projects that list both1

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposReact RouterTanStack Router
Claude Code2,6175.3%1.3%
GitHub Copilot2,3504.3%0.9%
Cursor1,9908.4%1.3%
Gemini CLI4223.6%1.2%
OpenAI Codex4092.9%1.5%
OpenCode3042.0%1.6%
OpenClaw2412.1%0%
Devin Desktop23111.7%0%
Kiro1258.8%0%
Roo-Code9012.2%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

React Router

Declarative routing library for building single-page React applications.

Most often used with it:

Vite90.1% of its projects
React99.0% of its projects
Lucide React65.2% of its projects
Tailwind CSS79.2% of its projects
date-fns47.1% of its projects

npm install react-router-dom

TanStack Router

Modern, type-safe routing library with file-based routing for React.

Most often used with it:

Vite96.2% of its projects
Lucide React86.5% of its projects
TanStack Query78.8% of its projects
React98.1% of its projects
Class Variance Authority71.2% of its projects

npm install @tanstack/react-router

More matchups

React vs VueNext.js vs AstroVue vs AstroReact vs AngularAstro vs SvelteReact vs SvelteVue vs SvelteNext.js vs Nuxt

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.