dioxus/packages/router
Jonathan Kelley e04a6d63a5 chore: move tests out of core and into the top level crate
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
..
examples chore: remove all warnings 2022-02-10 21:00:15 -05:00
src style: format againkjdfakbjfbkasjd 2022-02-23 20:00:01 +01:00
tests setup done, local tests work, check workflow 2022-02-03 00:11:38 +01:00
.gitignore chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
Cargo.toml fix: remove unused depds 2022-02-16 14:40:45 -05:00
CHANGELOG.md feat: add changelogs 2022-01-29 10:17:14 -05:00
Makefile.toml improve Makefile tests 2022-02-04 17:18:31 +01:00
README.md Docs: update readme and usage doc for router 2022-03-02 17:57:00 -05:00
usage.md Docs: update readme and usage doc for router 2022-03-02 17:57:00 -05:00
webdriver.json fix some newlines 2022-02-03 09:28:06 +01:00

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