//! Navigation hook: `Link` and `navigate()` ask the router installed for
//! this UI thread to open a path.
use RefCell;
use Rc;
type Navigator = ;
thread_local!
/// Installs the router's navigation function (the router does this when the
/// app starts).
/// Opens `path` (`/projects/7?tab=a`) in the app's router. Without a router
/// (no routes) it does nothing.