Files
dioxus/packages/router
2022-06-25 08:27:10 -05:00
..
2022-06-25 08:27:10 -05:00
2022-06-25 08:27:10 -05:00
2022-06-25 08:27:10 -05:00
2022-06-25 08:27:10 -05:00
2022-01-29 10:17:14 -05:00
2022-02-04 17:18:31 +01:00
2022-05-21 23:33:17 +08:00
2022-03-13 16:35:28 +00:00
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