Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Form validation question #1459

Unanswered
dtrinh100 asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /