Source: https://seerepo.com/compare/TanStack/query/vs/withastro/astro
Markdown source: https://seerepo.com/compare/TanStack/query/vs/withastro/astro.md
Description: query and astro share 6 technologies: Preact, preact-render-to-string, React, Solid, Svelte, and Vue. Both are written in TypeScript.

# query vs astro

query and astro share 6 technologies: Preact, preact-render-to-string, React, Solid, Svelte, and Vue. Both are written in TypeScript.

- [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.
- [withastro/astro](https://seerepo.com/r/withastro/astro): The web framework for content-driven websites.

## What they share and what sets them apart

- In common: Preact, preact-render-to-string, React, Solid, Svelte, Vue
- Only in query: Angular, @angular/core, Lit, @solid-primitives/storage, Next.js, vue-demi, @kobalte/core, solid-primitives, TanStack, react-error-boundary
- Only in astro: Vite, Hono, Express, Fastify, prismjs, fast-xml-parser, xml2js, Zod, @clack/prompts, Cheerio, parse-srcset, shiki, sharp, linkedom, htmlparser2, satteri, @shikijs/rehype, rehype-mathjax, rehype-pretty-code, remark-math, remark-toc, unified, unist-util-visit, Netlify, Vercel, yaml, vfile, mdast-util-mdx, mdast-util-mdx-jsx, rehype-raw, remark-gfm, remark-smartypants, hast-util-to-html, hast-util-to-text, rehype-stringify, remark, remark-parse, unist-util-visit-parents

## Side by side

| | query | astro |
|---|---|---|
| Size | 253,972 lines written, 1,570 code files | 293,247 lines written, 1,041 code files |
| Who writes it | 0.5% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, and GitHub Copilot | 0.2% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push November 5, 2026, 5,928 commits, 50,526 stars | Last push November 5, 2026, 15,157 commits, 63,732 stars |
| Tests | 379 test files. 10.4% of its code files have a test that imports them | 3,163 test files. 4.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, query or astro?

astro, with 293,247 lines written; query has 253,972.

The proof: [withastro/astro's code at commit ff1e2fb](https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

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

astro, with 63,732 stars; query has 50,526.

The proof: [withastro/astro on GitHub](https://github.com/withastro/astro)

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

astro, with 3,163 test files; query has 379.

The proof: [withastro/astro's code at commit ff1e2fb](https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

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

Both got their last push on November 5, 2026.

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

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

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

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

## Sources

- TanStack/query: Read on November 5, 2026, at commit 284abac (https://github.com/TanStack/query/tree/284abac02d34f88ceb119c2af3fd3cf400b64a7a)
- withastro/astro: Read on November 5, 2026, at commit ff1e2fb (https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

## 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.
