Patch Changes
-
fix: prevent unnecessary re-renders when there are no async validators (#1929)
Fields were re-rendering twice on each keystroke because
isValidatingwas being set totruethenfalseeven when there were no async validators to run. This fix checks if there are actual async validators before toggling theisValidatingstate.Fixes #1130