HydrateProps
Import
import { HydrateProps } from "@hyper-fetch/react"
Source
Package
Preview
type HydrateProps = {
children?: React.ReactNode;
client: ClientInstance;
data?: (HydrateDataType | EmptyTypes)[] | EmptyTypes;
options?: HydrateOptionsType;
}
Structure
HydrateProps
| Name | Type | Description |
|---|---|---|
| children | | Children to render |
| client | | Client which cache receives the hydrated data |
| data | | Dehydrated items, usually created on the server with
|
| options | | Options applied to every item, as an object or a function of the item |

