React Query is now written in TypeScript to make sure the library and your projects are type-safe!
Install the latest version to get React Query with the new types:
npm install react-query --save
data
and error
properties.The latest TanStack news, articles, and resources, sent to your inbox.