Skip to main content
Vuetify0 is now in alpha!
Vuetify0 Logo
Theme
Mode
Palettes
Accessibility
Vuetify One
Sign in to Vuetify One

Access premium tools across the Vuetify ecosystem — Bin, Play, Studio, and more.

Not a subscriber? See what's included

useHydration API

API reference for the useHydration composable.

Explore these related pages for additional context and usage patterns.

PageCategory
useHydrationPlugins
useStoragePlugins
PluginsFundamentals

Functions

createHydration

() => E

Creates a new hydration instance.

createHydrationContext

<_E>(_options?: HydrationContextOptions | undefined) => ContextTrinity<_E>

createHydrationPlugin

(_options?: HydrationContextOptions | undefined) => Plugin

useHydration

<_E>(namespace?: string) => _E

Properties

isHydrated

Readonly<ShallowRef<boolean>>

True when root component has mounted (hydration complete)

isSettled

Readonly<ShallowRef<boolean>>

True after first tick post-hydration (safe for animations after state restoration)

Methods

hydrate

() => void

Mark hydration as complete

settle

() => void

Mark as settled (called automatically after nextTick post-hydration)

Was this page helpful?

Ctrl+/