router.rs 469 B

1234567891011
  1. //! Dioxus Router
  2. //! -------------
  3. //!
  4. //! This exmaple showcases the Dioxus Router hook. This hook makes it possible to using the browser's navigation API to
  5. //! display different content based on the Page's URL. The hook provides a configuration object that calls various
  6. //! specified callbacks whenever the page URL changes. Using this hook should feel like building a "URL directory", similar
  7. //! to how Tide handles paths.
  8. use dioxus::prelude::*;
  9. fn main() {}