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 .... ?
3 Replies
fascinating-indigoOP•2y ago
I suspect the error might be related to
DeepKeys stuffextended-salmon•2y ago
Uhhhh that's not good. Can you make a minimal repro?
wise-white•12mo 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.
