VSCode Intellisense is very slow with @tanstack/react-table 8.9.2
Describe the bug
I just migrated react-table from v7 to v8. And VSCode Intellisense is loading infinitely.
Your minimal, reproducible example
Steps to reproduce
- install @tanstack/react-table v8.9.2
- When I open any file in which the components of @tanstack/react-table are imported, VSCode intellisense is loading infinitely.
- When I remove the components import from @tanstack/react-table and restart Typescript server, I can't see the issue.
What I have tried from suggestions
- I restarted Typescript server, and restarted VSCode but the issue was not fixed.
- I installed @tanstack/react-table v8.9.1 but the issue still remained.
- I downgraded VSCode v1.80.2 but the issue was not fixed
UPDATED The given file with current issue has big enough amount of components imported. When I remove import other big components, intellisense is working expected
Expected behavior
VSCode Intellisense should be loaded in time, like couple of seconds or less than a minute.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
- OS: Windows
- VSCode version: 1.81.1
react-table version
v8.9.2
TypeScript version
v5.1.6
Additional context
No response
Terms & Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Same here
any news ? nothing is working anymore..
I resolved this issue by ignoring the file that uses @tanstack/react-table from vscode project and opening it separately:
(snippet from settings.json)
"files.exclude": {
"**/.git": true,
"**/node_modules": true,
"**/Table.tsx": true, // here
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},