This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

tanstack-fetch

Typed fetch client for TanStack Query

The fetch client that speaks queryFn. Returns data on success, throws a typed FetchError on failure and honors AbortSignal, so TanStack Query cancellation just works. Tiny core on native fetch, with built-in 401–429 handlers, single-flight refresh-token, SSR cookie forwarding, upload progress, SSE with auth, WebSocket and tRPC transport. Adapters for React, Vue, Solid, Angular and Svelte. Free and open source.

Top comment

Hey Product Hunt! 👋 I'm Mohammad, the maker of tanstack-fetch.

I use TanStack Query in almost every project, and I kept writing the same glue code around fetch: parse JSON, throw on non-2xx, pass the AbortSignal, refresh the token, type the errors. So I turned it into a small library.

tanstack-fetch is a typed fetch client shaped for queryFn:

• Returns data on success, throws a typed FetchError on failure

• Honors AbortSignal, so query cancellation just works

• Tiny core built on native fetch, no axios needed

• Optional extras: SSR, SSE, WebSocket, upload progress, refresh-token, tRPC

• Adapters for React, Vue, Solid, Angular and Svelte

It's free and open source (independent project, not an official TanStack package). There's a playground on the site if you want to try it without installing anything.

I'd love your feedback: what's missing, what's confusing, and how you handle fetching with TanStack Query today. Thanks for checking it out! 🙏

About tanstack-fetch on Product Hunt

“Typed fetch client for TanStack Query”

tanstack-fetch was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #277 on the daily leaderboard. The fetch client that speaks queryFn. Returns data on success, throws a typed FetchError on failure and honors AbortSignal, so TanStack Query cancellation just works. Tiny core on native fetch, with built-in 401–429 handlers, single-flight refresh-token, SSR cookie forwarding, upload progress, SSE with auth, WebSocket and tRPC transport. Adapters for React, Vue, Solid, Angular and Svelte. Free and open source.

On the analytics side, tanstack-fetch competes within Open Source, Developer Tools and GitHub — topics that collectively have 634.3k followers on Product Hunt. The dashboard above tracks how tanstack-fetch performed against the three products that launched closest to it on the same day.

Who hunted tanstack-fetch?

tanstack-fetch was hunted by Mohammad Garmabi. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

For a complete overview of tanstack-fetch including community comment highlights and product details, visit the product overview.