Glossary: React Beyond the Basics
useQuery
A TanStack Query hook that fetches data and keeps it in the cache, given a queryKey and a queryFn. It returns data, isPending and error.
Glossary: React Beyond the Basics
A TanStack Query hook that fetches data and keeps it in the cache, given a queryKey and a queryFn. It returns data, isPending and error.