@knitui/hooks
useMounted
false during the initial render, true after mount — port of Mantine's useMounted. Useful for deferring client-only / post-mount UI. Pure React, so identical on web and native.
WebiOSAndroid
Import
import { useMounted } from "@knitui/hooks";Signature
export function useMounted(): boolean