Why doesn’t cache persist in React Native App ?
I couldn’t find much information on GitHub issues, blog posts, or YouTube videos
I’ve tried logging the results from async-storage using the default key of the react query cache as a troubleshooting step, but nothing ever comes back, always undefined
Here’s my query client config: https://pastebin.com/wMdcHxsz
Here’s my App.tsx: https://pastebin.com/WPkgWLMJ
Not sure what’s wrong here, any advice would be appreciated
Pastebin
queryClient.ts - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
App.tsx - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
0 Replies