TanStackT
TanStackโ€ข9mo agoโ€ข
3 replies
rubber-blue

useQuery select

Hi all.

Not sure about if I understand the
select
correctly ( now ). But am I false to assume that the select is used for data transformation to be directly returned from the query and the modified data is not persisted in cache?

I just noticed since I'm using getQueryData and I was surprised when I was missing a part of the modified data ๐Ÿ˜‰

If so I would say that I've either misread the docs or misunderstood - but would be a good pointer in the docs to make the users aware of this before hand ๐Ÿ˜„

Cheers!
Was this page helpful?