How to obtain already cached items by RTQ from store #4439
Unanswered
killjoy2013
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using RTQ for some paged queries, like
https://rickandmortyapi.com/api/character?page=1
https://rickandmortyapi.com/api/character?page=2
they're cached nicely & when using trigger of a lazy query hook, there's no unnecessary remote http calls, very good.
After querying some pages, I need to check if an item already cached by its id.
Is there a way get all the cached items by queryCacheKey maybe?
Beta Was this translation helpful? Give feedback.
All reactions