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
@@ -33,7 +33,7 @@ impl<R: LiveviewRouter> Config<R> {
|
||||
}
|
||||
|
||||
/// Create a new configuration for the LiveView server.
|
||||
pub fn with_app(mut self, app: fn() -> dioxus_core::prelude::Element) -> Self {
|
||||
pub fn with_app(mut self, app: fn() -> dioxus_core::Element) -> Self {
|
||||
self.router = self.router.with_app(&self.route, app);
|
||||
self
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user