add use_router hook

This commit is contained in:
Adrian Wannenmacher committed 2022-12-06 11:03:01 +01:00
1 parent 998f9b9ec9
commit 3b088be9a6
4 files changed
+107

No files matched your search

+5
View File
@@ -11,9 +11,14 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-rwlock = "1.3.0"
dioxus = { path="../dioxus" }
dioxus-router-core = { path = "../router-core"}
futures-channel = "0.3.25"
futures-util = "0.3.25"
# for wasm
[features]
regex = ["dioxus-router-core/regex"]
serde = ["dioxus-router-core/serde"]