7 releases

0.3.0 Jan 5, 2023
0.2.3 May 3, 2022
0.2.2 Mar 10, 2022
0.1.1 Jan 29, 2022

#93 in GUI

Download history 765/week @ 2022-12-02 662/week @ 2022-12-09 610/week @ 2022-12-16 483/week @ 2022-12-23 367/week @ 2022-12-30 323/week @ 2023-01-06 269/week @ 2023-01-13 363/week @ 2023-01-20 329/week @ 2023-01-27 275/week @ 2023-02-03 198/week @ 2023-02-10 291/week @ 2023-02-17 203/week @ 2023-02-24 210/week @ 2023-03-03 232/week @ 2023-03-10 216/week @ 2023-03-17

897 downloads per month

MIT/Apache

53KB
622 lines

Dioxus Native Core

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

Dioxus Router is a first-party Router for all your Dioxus Apps. It provides a React-Router style interface using somewhat loose typing rules.

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

You need to enable the right features for the platform you're targeting since these are not determined automatically!

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~4–11MB
~224K SLoC