-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve performance with lazy processing / calculation timeout #50
Comments
I am having my whole VSCode hang when Example bare-minimum repo where you can observe the issue: https://github.com/virtuallyunknown/tanstack-form-performance Peek.2024-04-01.21-05.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suddenly started having my intellisense hang indefinitely on a cypress project, and after an extension bisect found ts-type-explorer was the issue. Thankfully I solved the problem by lowering the max recursion depth to 4. I figured the type-structure must have branched out too rapidly, but it made me think there must be a better way to handle recusion calculation overload. My suggestions are:
Only explore and find the types when the user expands that part of the type explorer.
Allow the user to set a calculation timeout at which point to stop further recursing.
Also to note - I was having my intellisense hang even when I had not focused the type-explorer tab. This feels like a mis-step, I wouldn't mind a delay when opening the tab, if it meant a more performant codebase the rest of the time. A spinner and a "stop calculation" button would be good UI additions too.
The text was updated successfully, but these errors were encountered: