Skip to content

Caching memoized results in React Query #7767

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

You must be logged in to vote

but then I need to manipulate that data on the frontend to transform it into a few different views. I'd like to avoid re-calculating unless the returned data has changed.

you are likely looking for the select option:

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@toppsdown
Comment options

@TkDodo
Comment options

@toppsdown
Comment options

Comment options

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

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