Documentation of global settings #1236
Unanswered
kieran-osgood
asked this question in
Ideas
Replies: 1 comment
-
Now it seems However, I do agree the doc should include a reference to this, either in page important defaults or query options |
Beta Was this translation helpful? Give feedback.
0 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.
-
Describe the Issue
Pretty new to react-query so I've been reading through documentation as I go and I've combed through trying to adjust the default settings for all query retries, not sure if I'm just skipping the part its described, but as an example I saw a reference to setting global settings for query-retries, but then couldn't find anywhere that references how to do this specifically until I looked through the API Reference and eventually saw the
new QueryCache({config})
.I'm not sure this will be immediately obvious to new comers to the library (...like me).
Suggestion
I'm thinking of more documentation on the Important Defaults to add a reference to either a page describing it or just to the api reference where you override the defaults in
new QueryCache({...config})
, and add links from places like the /query-retries page that talk about global settingsHappy to PR the adjustments, though if I'm just being blind (happens all too often) and missing the part it is described then please point me in the correct direction!
Beta Was this translation helpful? Give feedback.
All reactions