Function: useHydrated()
useHydrated():
boolean
Returns false during SSR and first client render, then true after hydration completes.
Use this to guard any content that depends on browser-only state (localStorage, cookies, window) to prevent hydration mismatches.
Returns
boolean