We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f73635 commit da85602Copy full SHA for da85602
docs/src/pages/reference/useQuery.md
@@ -89,6 +89,8 @@ const result = useQuery({
89
- A function like `attempt => Math.min(attempt > 1 ? 2 ** attempt * 1000 : 1000, 30 * 1000)` applies exponential backoff.
90
- A function like `attempt => attempt * 1000` applies linear backoff.
91
- `staleTime: number | Infinity`
92
+ - Optional
93
+ - Defaults to `0`
94
- The time in milliseconds after data is considered stale. This value only applies to the hook it is defined on.
95
- If set to `Infinity`, the data will never be considered stale
96
- `cacheTime: number | Infinity`
0 commit comments