Module prelude

Source
Expand description

A collection of useful items most applications might need.

Re-exports§

pub use crate::components::GoBackButton;
pub use crate::components::GoForwardButton;
pub use crate::components::HistoryButtonProps;
pub use crate::components::LinkProps;
pub use crate::components::Outlet;
pub use crate::components::Router;
pub use crate::components::RouterProps;
pub use crate::hooks::*;
pub use crate::navigation::*;
pub use crate::routable::*;

Structs§

Navigator
A view into the navigation state of a router.
RouterConfig
Global configuration options for the router.
RouterContext
A collection of router data that manages all routing functionality.

Functions§

navigator
Acquire the navigator without subscribing to updates.
root_router
Try to get the router that was created closest to the root of the virtual dom. This may be called outside of the router.

Derive Macros§

Routable
Derives the Routable trait for an enum of routes