tahamajs's picture
download
raw
348 Bytes
// src/usePrefetchQuery.tsx
import { useQueryClient } from "./QueryClientProvider.js";
function usePrefetchQuery(options, queryClient) {
const client = useQueryClient(queryClient);
if (!client.getQueryState(options.queryKey)) {
client.prefetchQuery(options);
}
}
export {
usePrefetchQuery
};
//# sourceMappingURL=usePrefetchQuery.js.map

Xet Storage Details

Size:
348 Bytes
·
Xet hash:
c6a17d815a3e4a7b473aec5834427728af689dbc2cfadd1fcc3d41bc77c82594

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