Requirements and Disclaimers
Environment
@jcoreio/zod-forms
may require certain ECMAScript features to be polyfilled depending on your environment.
Designed for Zod and React only
Other projects like react-hook-form
are designed to integrate with a wide
variety of validation libraries. @jcoreio/zod-forms
will always require zod
schemas, to provide the
smoothest integration when using zod
.
Not currently designed for super high performance
final-form
uses granular field subscriptions to minimize work in large forms.
Although @jcoreio/zod-forms
does its best to avoid unnecessary rerendering, it currently parses the entire
form values with your schema when any field is changed.
react-hook-form
uses uncontrolled components by default to get maximum
performance in large forms.
Missing Features
Async Validation
@jcorieo/zod-forms
doesn't implement async validation without form submission yet. But,
you can return specific field errors from a submit handler.