Skip to content

How to refresh an entry in the cache? #40

Answered by bvaughn
nggonzalez asked this question in Q&A
Discussion options

You must be logged in to vote

useCacheMutation is the only recommended way of mutating a cache.

Evict the entry

This will likely not do anything in terms of scheduling updates or letting React know that the previously cached value is now stale.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by nggonzalez
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