Skip to main content
Version: 1.x

setInfiniteQueryData(...)

The method enables direct access to the QueryClient cache to set the data for a specific Infinite Query. The method API is the same as the setQueryData method, but it is specifically for Infinite Queries.

See the TanStack queryClient.setQueryData 🌴 documentation.

info

Documentation is actively being updated 🚧