Skip to content

Glossary: React Beyond the Basics

invalidating

Also written: invalidateQueries, invalidate

Marking cached data stale so TanStack Query fetches it again if it is on screen. After an order, Kettle & Crane invalidates the products so the stock refreshes.

Where the book teaches it

Related terms

stalemutationquery key