How to implement two cache providers for two sets of swr hooks #2938
Unanswered
assetmantledevops
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a set of swr hooks which require "persistent cache" like localStorage, and another set of swr hooks which requires the default cache provider. how can i implement it? previously there used to be option in the useSWR itself, to set the cache:
wondering if something like this still works? I didnt see any mention of cache in the options for useSWR in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions