Skip to content

Managing Consistent Favorited State Across Paginated Searches with React Query #5918

Answered by TkDodo
tomerzcod7 asked this question in General
Discussion options

You must be logged in to vote

you can of course write to the cache manually. If they all have the same data structure, you can do this in one go with queryClient.setQueriesData.

Replies: 1 comment 2 replies

Comment options

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

@TkDodo
Comment options

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