graphql-react
options guide
This is a guide to the cache related options for the useGraphQL
React hook. The reloadOnLoad
and resetOnLoad
options also apply to the GraphQL
instance method operate
.
The defaults are suitable for typical query use, as apps tend to have more queries than mutations.
loadOnMount |
loadOnReload |
loadOnReset |
reloadOnLoad |
resetOnLoad |
---|