1
0
Jonathan Kelley 3febd42588 Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 3 жил өмнө
..
examples 213f54c4d8 Convert all logs to trace 3 жил өмнө
src 078287301d Fix query parsing: the router was silently throwing away queries not prefixed with an extra '?' 3 жил өмнө
tests 213f54c4d8 Convert all logs to trace 3 жил өмнө
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate 3 жил өмнө
CHANGELOG.md 56f3002aed feat: add changelogs 3 жил өмнө
Cargo.toml 3febd42588 Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 3 жил өмнө
Makefile.toml bd565bb65f improve Makefile tests 3 жил өмнө
README.md c7627f0b93 fix: tests pass 3 жил өмнө
usage.md 9a23ee4612 active_class prop for Router 3 жил өмнө
webdriver.json ee49fc27ff fix some newlines 3 жил өмнө

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