Skip to main content
Version: 2.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 ๐Ÿšง