Severe TypeScript Performance Degradation with @tanstack/vue-query
in Vue 3 + TypeScript Project
#9200
Labels
@tanstack/vue-query
in Vue 3 + TypeScript Project
#9200
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
After installing and importing @tanstack/vue-query (and related packages), VSCode performance drops significantly in my Vue 3 + TypeScript project.
The following editor features are noticeably slowed down or sometimes completely hang:
This makes it nearly impossible to work productively in a large codebase.
Steps to reproduce
If needed, I can provide a minimal reproduction repo, but any Vue 3 + TS project with @tanstack/vue-query + a few generic-heavy useQuery() calls should reproduce the issue.
Expected behavior
As a user, I expected smooth and fast TypeScript support (autocomplete, type inference, navigation, etc.) when using @tanstack/vue-query in a Vue 3 + TypeScript project.
However, I am seeing severe TypeScript performance degradation — VSCode becomes slow, IntelliSense suggestions freeze, and navigating through types is delayed significantly.
Screenshots or Videos
Platform
Environment
Window
Tanstack Query adapter
vue-query
TanStack Query version
5.67.3
TypeScript version
5.6.3
Additional context
tsconfig.js
tsconfig.app.json
tsconfig.node.json
The text was updated successfully, but these errors were encountered: