Expo + React Query issue with cache
Well I try to use React Query in Expo. I have some trouble with queries not added to cache (like every first query in the start of the app arent store in cache). There is an example (here the cache is empty, doesnt make sense because I get movies with
useQuery in the home screen) :2 Replies
deep-jadeOP•9mo ago
I did a little test :
And there is something weird, the cache is directly cleaned :
Why is empty at the end...
passive-yellow•9mo ago
you're not showing where
queryClient is coming from, so my guess is: https://tkdodo.eu/blog/react-query-fa-qs#2-the-queryclient-is-not-stableReact Query FAQs
Answering the most frequently asked React Query questions