T
TanStack2y ago
fascinating-indigo

Type instantiation is excessively deep and possibly infinite

Type instantiation is excessively deep and possibly infinite Getting this error in most of the places where I pass form or field of react-form. What could be wrong? How to specify specific type for form in useForm? I need a strict type like useForm<FormShape, ....> and same in form.Field children={(field): ....} Can someone pls help me with filling those .... ?
No description
3 Replies
fascinating-indigo
fascinating-indigoOP2y ago
I suspect the error might be related to DeepKeys stuff
extended-salmon
extended-salmon2y ago
Uhhhh that's not good. Can you make a minimal repro?
wise-white
wise-white12mo ago
We've had a similar issue wrapping Mantine components in the Field component. We've solved for it by explicitly typing the Field type.
No description

Did you find this page helpful?