Open khanakia opened 6 months ago
Hi. The same happened to me with an Adonis project with Inertia and React. As soon as I installed it, vscode intellisense became very slow.
Looks like, possibly because there's a large number of icons that are individually importable (and each have their own .d.ts
file) TypeScript's language server is stuck doing lots of work — including synchronous I/O:
It's also doing duplicate work because we have multiple exports keys with different paths that point to the same source files — which we added for backwards compatibility.
+1
Same in a nextjs project. Tried zed as well and its super slow. Had to manually remove packages one by one to narrow it down to heroicons being the issue.
I am using remix.run and the IntelliSense becomes super slow the moment i install the
heroicons
packagesi have created a very basic test repo https://github.com/khanakia/testremix
NOTE: the moment I uninstall the
"@heroicons/react": "^2.1.3"
package vscode autocomplete becomes fast againhttps://github.com/remix-run/remix/assets/2174170/aebd1147-cd49-4541-b8d4-24400e0f1041