mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-12 22:02:28 +00:00
11 lines
469 B
Rust
11 lines
469 B
Rust
//! Dioxus Router
|
|
//! -------------
|
|
//!
|
|
//! This exmaple showcases the Dioxus Router hook. This hook makes it possible to using the browser's navigation API to
|
|
//! display different content based on the Page's URL. The hook provides a configuration object that calls various
|
|
//! specified callbacks whenever the page URL changes. Using this hook should feel like building a "URL directory", similar
|
|
//! to how Tide handles paths.
|
|
|
|
use dioxus::prelude::*;
|
|
|
|
fn main() {}
|