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
- The time in milliseconds that cache data remains fresh. After a successful cache update, that cache data will become stale after this duration.
1832
1832
- If set to `Infinity`, query will never go stale
1833
-
- `cacheTime: Int`
1833
+
- `cacheTime: Int|Infinity`
1834
1834
- 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.
1835
+
- If set to `Infinity`, will disable garbage collection
1835
1836
- `refetchInterval:false| Integer`
1836
1837
- Optional
1837
1838
- If set to a number, all queries will continuously refetch at this frequency in milliseconds
@@ -1953,8 +1954,9 @@ const {
1953
1954
- `staleTime: Int |Infinity`
1954
1955
- The time in milliseconds that cache data remains fresh. After a successful cache update, that cache data will become stale after this duration.
1955
1956
- If set to `Infinity`, query will never go stale
1956
-
- `cacheTime: Int`
1957
+
- `cacheTime: Int|Infinity`
1957
1958
- 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.
1959
+
- If set to `Infinity`, will disable garbage collection
1958
1960
- `refetchInterval:false| Integer`
1959
1961
- Optional
1960
1962
- If set to a number, all queries will continuously refetch at this frequency in milliseconds
@@ -2087,8 +2089,9 @@ const {
2087
2089
- `staleTime: Int |Infinity`
2088
2090
- The time in milliseconds that cache data remains fresh. After a successful cache update, that cache data will become stale after this duration.
2089
2091
- If set to `Infinity`, query will never go stale
2090
-
- `cacheTime: Int`
2092
+
- `cacheTime: Int|Infinity`
2091
2093
- 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.
2094
+
- If set to `Infinity`, will disable garbage collection
2092
2095
- `refetchInterval:false| Integer`
2093
2096
- Optional
2094
2097
- If set to a number, all queries will continuously refetch at this frequency in milliseconds
0 commit comments