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 Thumbnail

tanstack-fetch

Typed fetch client for TanStack Query

Open Source
Developer Tools
GitHub
Visit WebsiteSee on Product HuntNpm ⧉Github ⧉

Hunted byMohammad GarmabiMohammad Garmabi

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! 🙏

Comment highlights

No comment highlights available yet. Please check back later!

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.

tanstack-fetch was featured in Open Source (69.1k followers), Developer Tools (523.7k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 150.3k products, making this a competitive space to launch in.

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.

Want to see how tanstack-fetch stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.