Carregando…
Carregando…
Carregando…Estado reativo de `window.location`/`history` — reage a navegação `popstate` e também a `pushState`/`replaceState` via monkey-patch com `CustomEvent`.
useLocation — reage a pushState/replaceState/popstate
pathname: —
hash: —
trigger: load
$ npx kikitocn add use-locationimport { useLocation } from "@/components/ui/cn/use-location/useLocation";
export function useLocationExample() {
return (
<useLocation />
);
}