-
-
Notifications
You must be signed in to change notification settings - Fork 522
Form validation question
#1459
-
I have a situation where I am using Vue Apollo to do some form validations, such as checking an existing username. Should I be using useQuery
or useLazyQuery
in this situation?
I am currently using useLazyQuery
because I am waiting for user input before validations, but I have seen some React users use useQuery
during validation, so which one would be right for the job? Or is it just a matter of choice?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment