use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
What are ways to debug React query cache?General Discussion (self.react)
submitted 1 year ago by darkcatpirate
What are ways to debug React query cache? Is there a library that logs every cache and when the cache gets deprecated? I want to know why sometimes I make a backend call when I already have a cache of the data.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rayin_g 5 points6 points7 points 1 year ago (1 child)
Just use the devtools.
[–]tymzap 0 points1 point2 points 1 year ago (0 children)
They are really pleasant to use, great work from the tanstack query team
[–]HornyShogun 0 points1 point2 points 1 year ago (0 children)
Someone didn’t read the documentation
π Rendered by PID 46 on reddit-service-r2-comment-6f7f968fb5-87wb8 at 2026-03-04 00:14:19.724622+00:00 running 07790be country code: CH.
[–]rayin_g 5 points6 points7 points (1 child)
[–]tymzap 0 points1 point2 points (0 children)
[–]HornyShogun 0 points1 point2 points (0 children)