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
adverse-sapphireOP•15mo ago
I suspect the error might be related to
DeepKeys
stuffvicious-gold•15mo ago
Uhhhh that's not good. Can you make a minimal repro?
rival-black•9mo 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.
