Skip to content

Commit a76ac59

Browse files
authored
docs(useQuery): add more info to description of staleTime field of query options (TanStack#8448)
1 parent 8a0eb6a commit a76ac59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/reference/useQuery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const {
9292
- `staleTime: number | ((query: Query) => number)`
9393
- Optional
9494
- Defaults to `0`
95-
- The time in milliseconds after data is considered stale. This value only applies to the hook it is defined on.
95+
- The time in milliseconds after which data is considered stale. This value only applies to the hook it is defined on.
9696
- If set to `Infinity`, the data will never be considered stale
9797
- If set to a function, the function will be executed with the query to compute a `staleTime`.
9898
- `gcTime: number | Infinity`

0 commit comments

Comments
 (0)