Open cjmling opened 2 years ago
if we want to copy object and updating some value only
setValues({ ...values, [name]: value })
React setValues object and overriding some value only
if we want to copy object and updating some value only
React setValues object and overriding some value only