UNPKG

@readme/markdown

Version:

ReadMe's React-based Markdown parser

7 lines (6 loc) 290 B
/** * A hook that returns whether or not the component has been hydrated. * Useful for components that should only render in the browser, and not during SSR. * Waiting to render until after hydration avoids React hydration mismatches. */ export default function useHydrated(): boolean;