You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Just a small question related to performance and the watch() function.
Say you have 20 controlled components in a form, but only need to watch two values:
This works great, but when developing, I find it more useful to watch all values:
const values = watch();
My question is, at what point would there be a noticeable performance difference between watching specific or all values?
Beta Was this translation helpful? Give feedback.
All reactions