Skip to content

Commit cd3b683

Browse files
committed
docs(react/guides/caching): unify staleTime wording to passive voice
1 parent 786cd36 commit cd3b683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/guides/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Let's assume we are using the default `gcTime` of **5 minutes** and the default
2020
- Since no other queries have been made with the `['todos']` query key, this query will show a hard loading state and make a network request to fetch the data.
2121
- When the network request has completed, the returned data will be cached under the `['todos']` key.
2222
[//]: # 'StaleNote'
23-
- The hook will mark the data as stale after the configured `staleTime` (defaults to `0`, or immediately).
23+
- The data will be marked as stale after the configured `staleTime` (defaults to `0`, or immediately).
2424
[//]: # 'StaleNote'
2525
- A second instance of `useQuery({ queryKey: ['todos'], queryFn: fetchTodos })` mounts elsewhere.
2626
- Since the cache already has data for the `['todos']` key from the first query, that data is immediately returned from the cache.

0 commit comments

Comments
 (0)