Replies: 1 comment
-
@Jamus123 can you share the version of TS that resolved the error, in addition to the more details about the type definitions in question? The TS instantiation depth is somewhat arbitrary and dependent on version-specific implementation details (per microsoft/TypeScript#44997 (comment)), so it's likely that what works in your situation will not apply universally. Nevertheless, it would be good to document this information for posterity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the website suggest TS version ^4.3. However, I just spent the better part of a day figuring out a 'Type Instantiation is excessively deep and possibly infinite' error while on 4.4 on using the FormProvider component. Was on 7.51.4.
Small suggestion to show TS to react-hook-form version matching. In other words, just show a list of TS you should use vs the version of react-hook-form you are on.
Beta Was this translation helpful? Give feedback.
All reactions