use crate::;
/// Returns the route currently rendered by the nearest [`Router`](crate::components::Router).
///
/// The component rerenders when navigation changes. Call this hook at the top
/// level of a component render method. It panics when called outside a router.
///
/// See the [complex router example](https://github.com/marc2332/freya/blob/main/examples/feature_router_complex.rs).