table icon indicating copy to clipboard operation
table copied to clipboard

VSCode Intellisense is very slow with @tanstack/react-table 8.9.2

Open hocledev opened this issue 2 years ago • 3 comments

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

  1. install @tanstack/react-table v8.9.2
  2. When I open any file in which the components of @tanstack/react-table are imported, VSCode intellisense is loading infinitely.
  3. 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.

hocledev avatar Aug 21 '23 17:08 hocledev

Same here

LuizBoina avatar May 10 '24 13:05 LuizBoina

any news ? nothing is working anymore..

Hackistan-org avatar May 24 '24 01:05 Hackistan-org

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
    },

LuizBoina avatar Jun 04 '24 01:06 LuizBoina