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