Maccesch 9a23ee4612 active_class prop for Router vor 3 Jahren
..
examples f47d2900fb feat: add a redirect vor 3 Jahren
src 9a23ee4612 active_class prop for Router vor 3 Jahren
tests 9a23ee4612 active_class prop for Router vor 3 Jahren
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate vor 3 Jahren
CHANGELOG.md 56f3002aed feat: add changelogs vor 3 Jahren
Cargo.toml ed07e914d3 fix: compile router on web vor 3 Jahren
Makefile.toml bd565bb65f improve Makefile tests vor 3 Jahren
README.md c7627f0b93 fix: tests pass vor 3 Jahren
usage.md 9a23ee4612 active_class prop for Router vor 3 Jahren
webdriver.json ee49fc27ff fix some newlines vor 3 Jahren

README.md

Dioxus Router

Dioxus Router is a first-party Router for all your Dioxus Apps. It provides a React-Router style interface that works anywhere: across the browser, SSR, and natively.

fn app() {
    cx.render(rsx! {
        Router {
            Route { to: "/", Component {} },
            Route { to: "/blog", Blog {} },
            Route { to: "/blog/:id", BlogPost {} },
        }
    })
}

Resources

  • See the mdbook
  • See the one-page brief
  • See the guide on the doc site
  • The crates.io API