Source: https://seerepo.com/compare/molefrog/wouter/vs/TanStack/query
Markdown source: https://seerepo.com/compare/molefrog/wouter/vs/TanStack/query.md
Description: wouter and query share 3 technologies: React, Preact, and preact-render-to-string. Both are written in TypeScript.

# wouter vs query

wouter and query share 3 technologies: React, Preact, and preact-render-to-string. Both are written in TypeScript.

- [molefrog/wouter](https://seerepo.com/r/molefrog/wouter): 🥢 A minimalist-friendly ~2.2KB routing for React and Preact
- [TanStack/query](https://seerepo.com/r/TanStack/query): 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

## What they share and what sets them apart

- In common: React, Preact, preact-render-to-string
- Only in wouter: Tailwind CSS, @dr.pogodin/react-helmet
- Only in query: Angular, Lit, @lit-labs/ssr, Solid, @solid-primitives/storage, Next.js, Svelte, Vue, vue-demi, goober, @kobalte/core, solid-primitives, @tanstack/solid-virtual, solid-transition-group

## Side by side

| | wouter | query |
|---|---|---|
| Size | 7,644 lines written, 23 code files | 265,344 lines written, 351 code files |
| Who writes it | 0.3% of its commits signed by AI. With Claude Code | 0.5% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, and GitHub Copilot |
| Activity | Last push November 8, 2026, 921 commits, 7,920 stars | Last push November 18, 2026, 5,976 commits, 50,574 stars |
| Tests | 37 test files. 21.7% of its code files have a test that imports them | 427 test files. 48.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, wouter or query?

query, with 265,344 lines written; wouter has 7,644.

The proof: [TanStack/query's code at commit b2dd6f3](https://github.com/TanStack/query/tree/b2dd6f3585c9820e9ca03074461b4007280fc231)

### Which has more GitHub stars, wouter or query?

query, with 50,574 stars; wouter has 7,920.

The proof: [TanStack/query on GitHub](https://github.com/TanStack/query)

### Which has more tests, wouter or query?

query, with 427 test files; wouter has 37.

The proof: [TanStack/query's code at commit b2dd6f3](https://github.com/TanStack/query/tree/b2dd6f3585c9820e9ca03074461b4007280fc231)

### Which was updated more recently, wouter or query?

query: its last push was on November 18, 2026, and wouter's on November 8, 2026.

The proof: [TanStack/query's commits on GitHub](https://github.com/TanStack/query/commits)

### Which has more commits signed by AI, wouter or query?

query: an AI signed 0.5% of its commits, with Claude Code, CodeRabbit, Codex, and GitHub Copilot; in wouter, 0.3%.

The proof: [the commits each tool signed in TanStack/query](https://seerepo.com/r/TanStack/query/ai)

## Sources

- molefrog/wouter: Read on November 18, 2026, at commit 51b55c0 (https://github.com/molefrog/wouter/tree/51b55c0dc1b2a16ca07954b8728b395325598d93)
- TanStack/query: Read on November 18, 2026, at commit b2dd6f3 (https://github.com/TanStack/query/tree/b2dd6f3585c9820e9ca03074461b4007280fc231)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
