Skip to content
aq-ui
Back to HooksHook

Use Hydrated

Open-code aq-ui React hook for Use Hydrated.

Installation

pnpm dlx aq-ui@alpha add use-hydrated

API reference

Client module

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

"use client"

import { useHydrated } from "@/hooks/use-hydrated"

const result = useHydrated()

useHydrated

functionSource L7

Open-code aq-ui React hook for Use Hydrated.

function useHydrated(): boolean
Returns
boolean
const result = useHydrated()

Files

  • hooks/use-hydrated.ts

Source