useIsHydrated
A hook to check if the component is hydrated
Installation
npx shadcn@latest add @shadcnhooks/use-is-hydratedAPI
/**
* A hook to check if the component is hydrated
* @returns A boolean indicating if the component is hydrated
*/
export function useIsHydrated(): booleanCredits
Last updated on