Skip to content
Discussion options

You must be logged in to vote

what would you need it for? The main reason for queryOptions is to have a way to share options between useQuery, useQueries and things like queryClient.prefetchQuery. There's no equivalent for mutations where this would be needed

Replies: 8 comments 34 replies

Comment options

You must be logged in to vote
15 replies
@TkDodo
Comment options

@chrisirhc
Comment options

@dhulme
Comment options

@TkDodo
Comment options

@dhulme
Comment options

Answer selected by nix6839
Comment options

You must be logged in to vote
12 replies
@smashercosmo
Comment options

@TkDodo
Comment options

@hossamAlhamidi
Comment options

@junwen-k
Comment options

@TkDodo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@leognmotta
Comment options

@iicdii
Comment options

Comment options

You must be logged in to vote
1 reply
@TkDodo
Comment options

Comment options

You must be logged in to vote
4 replies
@TkDodo
Comment options

@MlNl-PEKKA
Comment options

@TkDodo
Comment options

@MlNl-PEKKA
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet