Skip to content

Glossary: React Beyond the Basics

stale

Also written: staleTime

Cached data that might be out of date and will be refetched in the background. By default it is stale at once, and staleTime sets how many milliseconds it stays fresh.

Where the book teaches it

Related terms

cacheinvalidatingTanStack Query