You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this issue for the jsx components in react 17
Type 'ReactNode' is not assignable to type 'ReactElement<any, any> | null'.
Type 'undefined' is not assignable to type 'ReactElement<any, any> | null'.
Describe the bug
Getting this issue for the jsx components in react 17
Type 'ReactNode' is not assignable to type 'ReactElement<any, any> | null'.
Type 'undefined' is not assignable to type 'ReactElement<any, any> | null'.
Your minimal, reproducible example
https://codesandbox.io/p/devbox/fklwm9
Steps to reproduce
<form.Field>
will throw the above ts errorExpected behavior
Expect the ts error to not be there and for react 17 to be supported.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
TanStack Form adapter
None
TanStack Form version
v1.1.0
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: