//! Guards that run when the browser drives a component a page mounted.
//!
//! A page's route middleware runs once, when the page is requested. The browser then drives the
//! component through the update endpoint, which is not that route. A [`PersistentMiddleware`] runs
//! on every such update with the request that arrived and the page the component was mounted from,
//! so a guard — a login check, a tenant check, a maintenance flag — holds for the component's whole
//! life instead of only its first render.
use ;
use cratePageContext;
/// A guard an application registers once, and an update runs before the component renders.
/// The session a request carries, for a guard that checks it.