Skip to content

select option isn't utilized by queryClient api #7626

Answered by TkDodo
revyh asked this question in Q&A
Discussion options

You must be logged in to vote

select is an option of the QueryObserver, and it can transform data that is cached for each instance (of useQuery) separately. It doesn't work on imperative methods because they don't create a QueryObserver.

Replies: 1 comment 6 replies

Comment options

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

@revyh
Comment options

@TkDodo
Comment options

@revyh
Comment options

@TkDodo
Comment options

Answer selected by revyh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants