forked from TanStack/query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
22 lines (20 loc) · 794 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Side effects
import './setBatchUpdatesFn'
import './setLogger'
export { QueryClientProvider, useQueryClient } from './QueryClientProvider'
export {
QueryErrorResetBoundary,
useQueryErrorResetBoundary,
} from './QueryErrorResetBoundary'
export { useIsFetching } from './useIsFetching'
export { useIsMutating } from './useIsMutating'
export { useMutation } from './useMutation'
export { useQuery } from './useQuery'
export { useQueries } from './useQueries'
export { useInfiniteQuery } from './useInfiniteQuery'
export { useHydrate, Hydrate } from './Hydrate'
// Types
export * from './types'
export type { QueryClientProviderProps } from './QueryClientProvider'
export type { QueryErrorResetBoundaryProps } from './QueryErrorResetBoundary'
export type { HydrateProps } from './Hydrate'