wouter vs query

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

Read it as markdown

What they share and what sets them apart

molefrog

wouter

🥢 A minimalist-friendly ~2.2KB routing for React and Preact

TypeScript7.9kRead on November 18, 2026, at commit 51b55c0What is wouter built with?

Only in wouter

In common

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.

TypeScript50.6kRead on November 18, 2026, at commit b2dd6f3What is query built with?

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

SizeLines written by people and agents, without generated ones; code files, without tests.
wouter7,644 lines written23 code files
query265,344 lines written351 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
wouter0.3% of its commits signed by AIWith Claude Code
query0.5% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
wouterLast push November 8, 2026921 commits7,920 stars
queryLast push November 18, 20265,976 commits50,574 stars
TestsThe files that test the code, and the share of code files a test imports.
wouter37 test files21.7% of its code files have a test that imports them
query427 test files48.4% of its code files have a test that imports them

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

Which has more GitHub stars, wouter or query?
query, with 50,574 stars; wouter has 7,920.

The proof: TanStack/query on GitHub

Which has more tests, wouter or query?
query, with 427 test files; wouter has 37.

The proof: TanStack/query's code at commit b2dd6f3

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

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

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →