Great Post! I personally use Yup which is based on Joi but tailored for the frontend, smaller footprint and whatnot, its pretty much the same API and it is wonderful to work with, specially with Formik
Seconding this, Yup is great!
Hi José. Appreciate the comment. Will look into Yup :)
Cool, didn't know about Yup.
Aside from validating API responses, what other use-cases do you use it for?
on the frontend it is useful to validate form data before sending it on a request :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.