pub fn use_location<'hook>() -> impl 'hook + Hook<Output = Option<Location>>
A hook to access the current Location.
Location
When used in function components and hooks, this hook is equivalent to:
pub fn use_location() -> Option<Location> { /* implementation omitted */ }