TanStackQuery
Framework
StartRouter
Data & State
QueryDBStoreAI
UI
TableChartsFormMarkdownHighlight
UX
VirtualPacerHotkeys
Tooling
DevtoolsConfigCLIIntent
Blog
Blog & Release Notes
About
YouTubeThe official TanStack channel.WorkshopsLive sessions from the maintainers.Release NotesThe latest releases and changelog.
Channels
DiscordReal-time community support.GitHubSource, issues, discussions, and releases.
People & Work
MaintainersMeet the people maintaining the stack.ShowcaseProjects selected by the TanStack team.Community projects
TanChatNEW
Tools
Application StarterAlphaGenerate TanStack app starters.StatsNPM and ecosystem usage data.
Merch
Support
Support OverviewFind the right support path.PartnersCompanies supporting TanStack.OSS SponsorsSponsors keeping TanStack open source.Enterprise SupportPrivate consulting and expert support.ContactGet in touch with the TanStack team.
About
EthosHow we approach open source.TenetsThe values that shape TanStack libraries.Design SystemLogos, tokens, and UI components.
Partners

Sponsorships, placements, and partner pages.

Work with
TanStack
Partnership Inquiry
Sign In
Query Docs
  • Home
  • Get Started
  • Guides
  • API
  • Examples
Guides & Concepts
  • Important Defaults
  • Queries
  • Query Keys
  • Query Functions
  • Query Options
  • Network Mode
  • Parallel Queries
  • Dependent Queries
  • Background Fetching Indicators
  • Window Focus Refetching
  • Polling
  • Disabling/Pausing Queries
  • Query Retries
  • Paginated Queries
  • Infinite Queries
  • Initial Query Data
  • Placeholder Query Data
  • Mutations
  • Query Invalidation
  • Invalidation from Mutations
  • Updates from Mutation Responses
  • Optimistic Updates
  • Query Cancellation
  • Scroll Restoration
  • Filters
  • Request Waterfalls
  • Prefetching
  • SSR
  • Advanced SSR
  • Caching
  • Default Query Fn
  • Suspense
  • Testing
  • Does this replace state managers?
ESLint
  • ESLint Plugin Query
  • Exhaustive Deps
  • Stable Query Client
  • No Rest Destructuring
  • No Unstable Deps
  • Infinite Query Property Order
  • No void Query Functions
  • Mutation Property Order
  • Prefer Query Options
Plugins
  • broadcastQueryClient (Experimental)
  • createPersister (Experimental)
HomeGet StartedGuidesAPIExamples
Guides & Concepts
  • Important Defaults
  • Queries
  • Query Keys
  • Query Functions
  • Query Options
  • Network Mode
  • Parallel Queries
  • Dependent Queries
  • Background Fetching Indicators
  • Window Focus Refetching
  • Polling
  • Disabling/Pausing Queries
  • Query Retries
  • Paginated Queries
  • Infinite Queries
  • Initial Query Data
  • Placeholder Query Data
  • Mutations
  • Query Invalidation
  • Invalidation from Mutations
  • Updates from Mutation Responses
  • Optimistic Updates
  • Query Cancellation
  • Scroll Restoration
  • Filters
  • Request Waterfalls
  • Prefetching
  • SSR
  • Advanced SSR
  • Caching
  • Default Query Fn
  • Suspense
  • Testing
  • Does this replace state managers?
ESLint
  • ESLint Plugin Query
  • Exhaustive Deps
  • Stable Query Client
  • No Rest Destructuring
  • No Unstable Deps
  • Infinite Query Property Order
  • No void Query Functions
  • Mutation Property Order
  • Prefer Query Options
Plugins
  • broadcastQueryClient (Experimental)
  • createPersister (Experimental)
AI/LLM: This documentation page is available in plain markdown format at/query/latest/docs/framework/solid/guides/testing.md
Guides & Concepts

Testing

Edit on GitHub
PreviousSuspense
NextDoes this replace state managers?
PartnersBecome a Partner
Gold
NetlifyNetlify
VercelVercel
RenderRender
RailwayRailway
CloudflareCloudflare
CodeRabbitCodeRabbit
LovableLovable
Silver
OpenRouterOpenRouter
ClerkClerk
AG GridAG Grid
SerpApiSerpApi
WorkOSWorkOS
Bronze
SentrySentry
UnkeyUnkey
Scarf
PrismaPrisma
Latest Posts

The open source application stack for the web.

Libraries

  • Browse all
  • Query
  • Router
  • Start
  • Table
  • Form

Blog

  • Latest posts
  • Release notes
  • YouTube
  • Workshops

Community

  • Discord
  • GitHub
  • Maintainers
  • Showcase
  • Community projects

Tools

  • Builder
  • Stats

Merch

  • Shop
  • Cart

Support

  • Support overview
  • Partners
  • OSS sponsors
  • Enterprise support
  • Contact
  • Ethos
  • Tenets
  • Design system

© 2026 TanStack LLC

  • Privacy
  • Terms