Kubb
Skip to content
Kubb
DOCS
Docs
Extensions
Resources
Updates
Studio is live
Search…
⌘
Ctrl
k
Search…
⌘
Ctrl
k
Sponsor
Open Studio
Extensions
Plugins
React Query
How-to guides
React Query
Official
v5.14.2
@kubb/plugin-react-query
$
kubb add plugin-react-query
kubb add plugin-react-query
Overview
How-to guides
3
Options
Changelog
Report issue
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.