diff --git a/docs/framework/react/guides/important-defaults.md b/docs/framework/react/guides/important-defaults.md index 034944197a..ef5a3d366e 100644 --- a/docs/framework/react/guides/important-defaults.md +++ b/docs/framework/react/guides/important-defaults.md @@ -10,7 +10,6 @@ Out of the box, TanStack Query is configured with **aggressive but sane** defaul > To change this behavior, you can configure your queries both globally and per-query using the `staleTime` option. Specifying a longer `staleTime` means queries will not refetch their data as often - A Query that has a `staleTime` set is considered **fresh** until that `staleTime` has elapsed. - - set `staleTime` to e.g. `2 * 60 * 1000` to make sure data is read from the cache, without triggering any kinds of refetches, for 2 minutes, or until the Query is [invalidated manually](../query-invalidation.md). - set `staleTime` to `Infinity` to never trigger a refetch until the Query is [invalidated manually](../query-invalidation.md). - set `staleTime` to `'static'` to **never** trigger a refetch, even if the Query is [invalidated manually](../query-invalidation.md). diff --git a/docs/framework/react/quick-start.md b/docs/framework/react/quick-start.md index 4fdc72b820..645d092e68 100644 --- a/docs/framework/react/quick-start.md +++ b/docs/framework/react/quick-start.md @@ -53,7 +53,11 @@ function Todos() { return (
- +