1 unstable release
0.4.0 | Mar 6, 2024 |
---|
#1369 in HTTP server
Used in 2 crates
35KB
597 lines
Dioxus Retrouter
code copied from Dioxus 0.3.2 Router
Overview
This repoistory use for maintain retro-style Dioxus router (before 0.4), I think the old version of router is more friendly to dynamic router.
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–17MB
~170K SLoC