You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/docs/api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ const queryInfo = useQuery({
83
83
- A function like `attempt=>Math.min(attempt >1?2** attempt *1000:1000, 30*1000)` applies exponential backoff.
84
84
- A function like `attempt=> attempt *1000` applies linear backoff.
85
85
- `staleTime: Int |Infinity`
86
-
- The time in milliseconds that cache data remains fresh. After a successful cache update, that cache data will become stale after this duration.
86
+
- The time in milliseconds after data is considered stale.
87
87
- If set to `Infinity`, query will never go stale
88
88
- `cacheTime: Int |Infinity`
89
89
- The time in milliseconds that unused/inactive cache data remains in memory. When a query's cache becomes unused or inactive, that cache data will be garbage collected after this duration.
0 commit comments