Skip to main content
You are viewing Pre-Alpha documentation.
Vuetify0 Logo
Theme
Mode
Accessibility
Vuetify

Sign in

Sign in with your preferred provider to access your account.

useHydration API

API reference for the useHydration composable.

Functions

createHydration

() => E

Creates a new hydration instance.

createHydrationContext

(_options?: HydrationContextOptions) => ContextTrinity<E>

Creates a new hydration context trinity.

createHydrationPlugin

(_options?: HydrationPluginOptions) => any

Creates a new hydration plugin.

useHydration

(namespace?: string) => E

Returns the current hydration instance.

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?

© 2016-1970 Vuetify, LLC
Ctrl+/