@jcoreio/zod-forms
A more seamless way to build React forms from Zod schemas
100% Typesafe
Fully typechecked paths, input and output types for deeply nested fields
Smoothest Zod integration
Connecting z.string().optional()
, z.string().nullable()
,z.number()
etc to <input>
s works out of the box. Interprets blank inputs as undefined
or null
by default, depending on what the field schema accepts
Opinionated Defaults
Provides the behavior we want in JCore projects by default (normalizes inputs on blur, and after submission, resets initial values to submitted values)