tahamajs/IE / Projects /front /node_modules /@tanstack /react-query /build /modern /usePrefetchInfiniteQuery.js
tahamajs's picture
download
raw
388 Bytes
// src/usePrefetchInfiniteQuery.tsx
import { useQueryClient } from "./QueryClientProvider.js";
function usePrefetchInfiniteQuery(options, queryClient) {
const client = useQueryClient(queryClient);
if (!client.getQueryState(options.queryKey)) {
client.prefetchInfiniteQuery(options);
}
}
export {
usePrefetchInfiniteQuery
};
//# sourceMappingURL=usePrefetchInfiniteQuery.js.map

Xet Storage Details

Size:
388 Bytes
·
Xet hash:
309ebfff87b96b04532f4f2c70783ec46fdb5faea1b86efb2c1539e8f2ded281

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.