-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode Intellisense slows down with @gluestack-ui/themed imports #2102
Comments
Hey, i have the same problem, the VSCode Intellisense slows down with @gluestack-ui/themed imports
Platform
|
Can you try the latest versions of |
No, it did not get better. Before with my current version:
After updating to latest:
@ankit-tailor This is 30 seconds for running the diagnostics.. In another project we have for our react frontend website with mui that has twice the amount of files it takes 1.67s. From what I can see from the diagnostics, the amount of types and instantiations is immense compared to if I don't have gluestack installed. Could it be because of some kind of over usage of generic types? I'm at the point where in our code when I make changes in a file that has gluestack imports I just use the reload window command with vscode instead of waiting because the intellisense is way too slow. |
Similar issue, tsserver gets very slow after importing gluestack. npx tsc --diagnostics --noEmit |
@ankit-tailor Any update on this? Anyone else in the gluestack team has this issue? |
Hi Everyone, we are working on it to fix it ASAP. Thanks for your patience. |
@ankit-tailor Thank you very much, if you need me to test with the diagnostics afterwards, please don't hesitate to tag me! |
Description
I expect the @gluestack-ui/themed imports to not impact VSCode Intellisense performance.
CodeSandbox/Snack link
No response
Steps to reproduce
gluestack-ui Version
latest
Platform
Other Platform
No response
Additional Information
Tagging devs from previous thread: @surajahmed @ankit-tailor
Related prs
Related closed PR I made (unresolved): #1976
Another related closed PR: #903
Diagnostics with Gluestack:
Diagnostics without Gluestack:
Issue
Sometimes it's so slow I have to run the
Reload Window
command from the command palette on VSCode.There seems to be a problem with Gluestack and typescript, do you not have those issues on your end @ankit-tailor ? Are your tsc diagnostics fast?
My previous issue here was closed, but the problem is still existing.
Demo video:
https://github.com/gluestack/gluestack-ui/assets/60398892/e972600b-e3d4-49aa-9830-8a1ab2ca51c0
The text was updated successfully, but these errors were encountered: