Isomorphic Hooks
useHydrated
Retrieve the hydration status of a component.
Client / Server
Usage
Check if the component was hydrated. Always returns false
on the server.
import { useHydrated } from '@microeinhundert/radonis'
const hydrated = useHydrated()
console.log(hydrated) // => `true` if it was hydrated or `false` if not