#how to work with form.watch correctly?

2 messages · Page 1 of 1 (latest)

cunning nova
#

I have a select and, depending on the selected value in it, I need to display or hide another component, if I understand correctly, then I can do useState and pass the value of my select there? but I have doubts about this approach?

#

or is it better to do it in onValuesChange?