form-atoms / form-atoms

Atomic form primitives for Jotai

Home Page:https://codesandbox.io/s/getting-started-with-form-atoms-v2-ddhgq2?file=/src/App.tsx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples: Validation Option Valibot along with zod

pgangwani opened this issue · comments

Is your feature request related to a problem? Please describe.
As per this blog and intention of this library to the smallest, Can we try to use valibot instead of zod.

This is purely to reduce the bundle size and keeping smallest chunk of peer dependencies to this library.

Describe the solution you'd like
I am looking if there is need of some work from this library so that its supported out of the box and looking for examples

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Similar work was done jotai labs too Reference

@MiroslavPetrik @jaredLunde Please review whenver you get time.

Yeah I'm down to add a Valibot example