clean up prelude (#4416)
* clear away prelude on dioxus * clippy * wip - drop prelude from dioxus-html * docs clippy * wip * more fixe * delete all preludes * doc... * better export * merge some imports * fewer global imports * global incremental renderer * fix cargo doc
This commit is contained in:
1 parent
54d465a7b5
commit
4f1d039bad
140 files changed
+374
-477
No files matched your search
@@ -2,7 +2,7 @@
|
||||
//!
|
||||
//! The enum router makes it easy to use your route as state in your app. This example shows how to use the router to encode search text into the url and decode it back into a string.
|
||||
//!
|
||||
//! Run this example on desktop with
|
||||
//! Run this example on desktop with
|
||||
//! ```sh
|
||||
//! dx serve --example query_segment_search
|
||||
//! ```
|
||||
@@ -29,7 +29,7 @@ enum Route {
|
||||
|
||||
// The each query segment must implement <https://docs.rs/dioxus-router/latest/dioxus_router/routable/trait.FromQueryArgument.html> and Display.
|
||||
// You can use multiple query segments separated by `&`s.
|
||||
#[route("/search?:query&:word_count")]
|
||||
#[route("/search?:query&:word_count")]
|
||||
Search {
|
||||
query: String,
|
||||
word_count: usize,
|
||||
|
||||
Reference in new issue
Block a user