Skip to content
React Query logo

React Query

Officialv5.14.2

@kubb/plugin-react-query

kubb add plugin-react-query

How-to guides

3 guides
Call operations
Use the generated TanStack Query hooks and factories in React: queries, mutations, infinite lists, and suspense.
Infinite queries with useInfiniteQuery
Generate useInfiniteQuery hooks for paginated endpoints, read the next cursor from the response, and stop once the last page arrives.
TanStack Query keys
See the query key each generated React Query hook uses, invalidate or read the cache with it, and add your own prefix to the default key.