Implement hash fragments in the router (#2320)

* implement hash fragments in the router

* clean up query and search example

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Evan AlmloffandJonathan Kelley authored and GitHub committed 2024-04-25 14:30:25 -04:00
1 parent dd8e69635b
commit 08da9a1253
17 files changed
+550 -190

No files matched your search

+6 -1
View File
@@ -157,6 +157,8 @@ publish = false
manganis = { workspace = true, optional = true }
reqwest = { version = "0.11.9", features = ["json"], optional = true }
http-range = { version = "0.1.5", optional = true }
ciborium = { version = "0.2.1", optional = true }
base64 = { version = "0.21.0", optional = true }
[dev-dependencies]
dioxus = { workspace = true, features = ["router"] }
@@ -193,7 +195,6 @@ web = ["dioxus/web"]
collect-assets = ["manganis"]
http = ["reqwest", "http-range"]
[[example]]
name = "login_form"
required-features = ["http"]
@@ -217,3 +218,7 @@ required-features = ["http"]
[[example]]
name = "image_generator_openai"
required-features = ["http"]
[[example]]
name = "hash_fragment_state"
required-features = ["ciborium", "base64"]