Skip to content

Glossary: React Beyond the Basics

query key

Also written: queryKey, query keys

The array, such as ["product", sku], that names a query's cached data. It must include every value the query depends on, and a key matches every query that starts with it.

Where the book teaches it

Related terms

cacheuseQueryinvalidating