Paul Valladares• 290
@dreyfus92
Posted
You can handle validations with tons of tools, like yup, zod if you're using typescript, react-hook-form, formik. Try to read the docs and look for what fits your needs.
1
Any tips on best practices for doing basic client-side form validation? Currently, all I'm doing is using JS to check if the input values are blank - and for email, I'm importing validator.js from NPM using the UNPKG CDN.
@dreyfus92
Posted
You can handle validations with tons of tools, like yup, zod if you're using typescript, react-hook-form, formik. Try to read the docs and look for what fits your needs.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord