Files
url_tracker_tool/node_modules/@tanstack/react-query/build/modern/useIsFetching.js
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

22 lines
647 B
JavaScript

"use client";
// src/useIsFetching.ts
import * as React from "react";
import { notifyManager } from "@tanstack/query-core";
import { useQueryClient } from "./QueryClientProvider.js";
function useIsFetching(filters, queryClient) {
const client = useQueryClient(queryClient);
const queryCache = client.getQueryCache();
return React.useSyncExternalStore(
React.useCallback(
(onStoreChange) => queryCache.subscribe(notifyManager.batchCalls(onStoreChange)),
[queryCache]
),
() => client.isFetching(filters),
() => client.isFetching(filters)
);
}
export {
useIsFetching
};
//# sourceMappingURL=useIsFetching.js.map