Slow IntelliSense with react-hook-form resolvers on commands completionInfo
, completionEntryDetails
, and, encodedSemanticClassifications-full
#46726
Labels
Domain: Performance
Reports of unusually slow behavior
Needs Investigation
This issue needs a team member to investigate its status.
Bug Report
When adding react-hook-form with their resolver library and zod, the IntelliSense time blows up on three commands:
completionInfo
,completionEntryDetails
, and,encodedSemanticClassifications-full
.Before adding the resolver the logs output:
After adding the resolver the logs output:
What seems to be an identical issue was previously reported in a now closed ticket (#44851).
🔎 Search Terms
🕗 Version & Regression Information
As noted in the ticket Typescript 4.3 introduced the regression. When downgrading to Typescript 4.2, I do not see this issue. The issue persists when using the PR (#46429) that closed the previously reported issue (#44851). The PR landed in Typescript 4.5.1-rc.
⏯ Playground Link
Example repo can be found:
https://github.com/JSin/type-resolve-bug
💻 Code
🙁 Actual behavior
Extremely Slow IntelliSense
🙂 Expected behavior
Fast IntelliSense
The text was updated successfully, but these errors were encountered: