@openapi-qraft/react
Version:
OpenAPI client for React, providing type-safe requests and dynamic TanStack Query React Hooks via a modular, Proxy-based architecture.
9 lines (6 loc) • 315 B
JavaScript
import { callQueryClientMethodWithQueryKey } from '../lib/callQueryClientFetchMethod.js';
const prefetchQuery = (qraftOptions, schema, args)=>{
return callQueryClientMethodWithQueryKey(qraftOptions, 'prefetchQuery', schema, false, args);
};
export { prefetchQuery };
//# sourceMappingURL=prefetchQuery.js.map