MiroslavPetrik / react-form-action

tRPC like builder for the Next.js & React form actions.
MIT License
19 stars 1 forks source link

Client validation DX #8

Closed tyteen4a03 closed 1 month ago

tyteen4a03 commented 1 month ago

There doesn't seem to be a golden path for enabling client-side validation. What's the recommended approach?

MiroslavPetrik commented 1 month ago

react-form-action is UI agnostic. The client validation is not concern of this library. Usually you will have your own form library (e.g. formik), or even it will be a part of your UI framework (e.g. ant-design).