Open History to see the last commit
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'