RTK Query with redux-persist #1172
Unanswered
AlbinCederblad asked this question in Q&A
Replies: 1 comment 2 replies
-
| I just really wouldn't. So, I'd blacklist the api slice. If you want that stuff to be cached, do it with cache headers in your api. The browser will do all the caching for you, but also allow the user to clear the cache or force a refetch with ctrl+shift+r - so the browser would just behave more than the user expects. |
Beta Was this translation helpful? Give feedback.
2 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.
-
What happens when i use these together? Will it use the persisted store or will it fetch?
Beta Was this translation helpful? Give feedback.
All reactions