@tanstack/react-query
Version:
Hooks for managing, caching and syncing asynchronous and remote data in React
11 lines (10 loc) • 318 B
JavaScript
"use client";
import { useBaseQuery } from "./useBaseQuery.js";
import { QueryObserver } from "@tanstack/query-core";
//#region src/useQuery.ts
function useQuery(options, queryClient) {
return useBaseQuery(options, QueryObserver, queryClient);
}
//#endregion
export { useQuery };
//# sourceMappingURL=useQuery.js.map