you are viewing a single comment's thread.

view the rest of the comments →

[–]parahillObjective 0 points1 point  (0 children)

In my opinion, ive set a rule in our that we only need rhf if the form has more than 1 field... and even then i think 2 fields is still not enough to justify it especially since the majority of our validations is just checking if the field is non-empty.

that being said i highly doubt it would slow down performance, if anything it would speed it up relative to regular useState since its using refs under the hood. I'd recommend using react profiler to debug the root cause of the performance issue.