T
TanStack•2y ago
equal-aqua

Performance issues with TypeScript language server

TypeScript language server (v4.9) is working fine, except when I interact with anything related to @tanstack/react-form. For example, hovering over the form variable returned from useForm causes the language server to hang for quite a while. Has anyone else experienced this? I haven't had the same issues with other tanstack libraries, and I'm considering uninstalling. 😦 Thanks.
4 Replies
equal-aqua
equal-aquaOP•2y ago
Update: Seems to not be an issue on the latest version of TS. At some point I'll be able to upgrade, so maybe I'll deal with it for now. But, it'd be nice to figure out what the perf issue is, since @tanstack/react-form docs say it's compatible with 4.8 & up.
equal-aqua
equal-aquaOP•2y ago
Gah, I spoke too soon. Even with the latest version of TS, it started happening.
No description
foreign-sapphire
foreign-sapphire•2y ago
I'd try it again with the latest version. There was definitely a bug with ts perf. But not sure if thats the same one you were experiencing
continuing-cyan
continuing-cyan•7mo ago
I encounter same issue on TS 5.7 and latest version of Tanstack Form, I got so many issues with TS Performance

Did you find this page helpful?