@tanstack/react-query
Version:
Hooks for managing, caching and syncing asynchronous and remote data in React
25 lines (20 loc) • 635 B
JavaScript
/**
* react-query
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
var index = require('../../query-core/build/esm/index.js');
var useBaseQuery = require('./useBaseQuery.js');
function useQuery(arg1, arg2, arg3) {
const parsedOptions = index.parseQueryArgs(arg1, arg2, arg3);
return useBaseQuery.useBaseQuery(parsedOptions, index.QueryObserver);
}
exports.useQuery = useQuery;
//# sourceMappingURL=useQuery.js.map