Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

index.ts

15 lines560 Bytes

1// This package once contained these functions, but they have now been moved
2// into the core and react packages.
3// They are re-exported here to avoid a breaking change, but this package
4// should be considered deprecated and removed in a future major version.
5export { dehydrate, hydrate, useHydrate, Hydrate } from 'react-query'
6​
7// Types
8export type {
9 DehydrateOptions,
10 DehydratedState,
11 HydrateOptions,
12 ShouldDehydrateMutationFunction,
13 ShouldDehydrateQueryFunction,
14} from '../core/hydration'
15export type { HydrateProps } from '../react/Hydrate'