TanStack Query
prefetchQuery
Established v5 best-effort cache warming method; verify patch and migration status.
Formal Syntax & Structure
react syntaxreact
client.prefetchQuery(options)Working Example
Example Snippetreact
client.prefetchQuery(options)