Skip to main content

Blog Articles

TkDodo's Blog Posts

TkDodo, a maintainer of TanStack Query, writes a series of blog posts about the library. These articles offer general best practices and often present opinionated perspectives on using TanStack Query.

Video Content

React Query: Break up with Global State

Get the lowdown on “global state” and how React Query can help you fetch, cache and manage your asynchronous data with a fraction of the effort and code that you’re used to. - Tanner Linsley

All About React Query

Learn all about React Query with its creator Tanner Linsley on Learn With Jason.

Hooks for Fetching with ReactQuery

Learn how React Query simplifies asynchronous data fetching in React applications.

TanStack Query v4

Dominik Dorfmeister covering TanStack Query v4 on Learn With Jason.

React Query Exposed

Dominik Dorfmeister explores the less favorable aspects of React Query and situations where it may not be the best fit.

React Query API Design: Lessons Learned

Dominik Dorfmeister walks through some of the API design choices that were made in React Query.

Utilities & Tools

Code Generation & Type Safety

GraphQL Code Generator

Generate React Query hooks from your GraphQL schema with full type safety.

Orval

Generate TypeScript client from OpenAPI specifications, including TanStack Query hooks.

OpenAPI React Query Codegen

Generate TanStack Query hooks based on an OpenAPI specification file.

Hey API

The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.

Developer Experience

Query Key Factory

A library for creating typesafe standardized query keys, useful for cache management in @tanstack/query.

React Query Kit

A toolkit for ReactQuery that makes ReactQuery hooks reusable and typesafe.

React Query Rewind

Time travel and visualize state during development.

Suspensive React Query

Enhances React Query with Suspense support, allowing for simpler and more declarative data fetching.

Data Management

batshit

A batch manager that will deduplicate and batch requests for a certain data type made within a window.

Normy

Automatic normalization and data updates for data fetching libraries.

End-to-End Type Safety

tRPC

End-to-end typesafe APIs made easy. Built with TanStack Query integration.

Connect

A family of libraries for building browser and gRPC-compatible HTTP APIs.

ts-rest

Incrementally adoptable type-safety for your new and existing APIs.

zodios

End-to-end typesafe REST API toolbox with Zod validation.

oRPC

Easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards.

Framework Integrations

Blitz

The Missing Fullstack Toolkit for Next.js with built-in Query integration.

wagmi

React Hooks for Ethereum based on @tanstack/react-query.

Kubb

Generate SDKs for all your APIs with TanStack Query support.

Visualization & Debugging

Tanstack Query Visualizer

An interactive sandbox that visualizes the relationship between mutations and query keys.
These resources are maintained by the community. If you have a project or resource to add, please contribute to the TanStack Query repository.

Build docs developers (and LLMs) love