Add fetchPolicy options #2329
Unanswered
AjaxSolutions
asked this question in
Ideas
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to add the fetchPolicy option similar to what's available in Apollo GraphQL hooks?
Apollo can do the SWR pattern using fetchPolicy: ‘cache-and-network’.
I'd like to see these options added:
cache-first
cache-and-network
network-only
cache-only
no-cache
Beta Was this translation helpful? Give feedback.
All reactions