161
rated 0 times
[
167]
[
6]
/ answers: 1 / hits: 23074
/ 4 Years ago, sun, may 24, 2020, 12:00:00
Most Yup examples use the shape method, but I find the documentation a little hard to understand why this is the case, and exactly what the method does.
Can someone please explain the difference between a schema defined with Yup.object({...})
and Yup.object().shape({...})
?
More From » forms