Skip to content
Discussion options

You must be logged in to vote

You can just so that inside the queryFn, right before you return the value - which react-query then puts into the cache.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@zirkelc
Comment options

@TkDodo
Comment options

@neefrehman
Comment options

@louis-young
Comment options

@zirkelc
Comment options

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