RTK Query with redux-persist #1172
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.
-
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