pub fn use_router<'hook, T>(
) -> impl 'hook + Hook<Output = Option<RouterContext<T>>>where
    T: Target + 'static + 'hook,
Expand description

Note

When used in function components and hooks, this hook is equivalent to:

pub fn use_router<T>() -> Option<RouterContext<T>>
where
    T: Target + 'static,
{
    /* implementation omitted */
}