T
TanStack15mo ago
adverse-sapphire

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
adverse-sapphire
adverse-sapphireOP15mo ago
I suspect the error might be related to DeepKeys stuff
vicious-gold
vicious-gold15mo ago
Uhhhh that's not good. Can you make a minimal repro?
rival-black
rival-black9mo 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?