Replies: 1 comment
-
SWR won't persist the cache for you if you close the app or turn off the phone, it's in-memory cache. This section of their docs suggests a strategy to do so. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm thinking on adding swr into my react native expo project, but would like to know if the cache persist if I close the app or turn off my phone. If not then I think I would have to use AsyncStorage.
Hopefully somebody can help me with this.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions