vantezzen / auto-form

🌟 A React component that automatically creates a @shadcn/ui form based on a zod schema.
https://vantezzen.github.io/auto-form/
2.27k stars 81 forks source link

Perhaps a support for useFormState and useFormStatus would be great #72

Open alexanderkrum opened 2 months ago

alexanderkrum commented 2 months ago

I love this lib.

I would love it even more if we would have support for the new useFormState and useFormStatus hooks. It would make this library very convenient for the Nextjs users that use server actions.

gaurangrshah commented 2 months ago

I'd second that. and be willing to help support.

vantezzen commented 2 months ago

Sounds like a good feature - PRs are welcome!

LandSprutte commented 4 weeks ago

A child component can access the FormState as of this merge: Expose FormState via render props