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
@@ -8,7 +8,7 @@ use crate::{
|
||||
webview::PendingWebview,
|
||||
AssetRequest, Config, WindowCloseBehaviour, WryEventHandler,
|
||||
};
|
||||
use dioxus_core::{prelude::Callback, VirtualDom};
|
||||
use dioxus_core::{Callback, VirtualDom};
|
||||
use std::{
|
||||
cell::Cell,
|
||||
future::{Future, IntoFuture},
|
||||
@@ -31,7 +31,7 @@ use tao::platform::ios::WindowExtIOS;
|
||||
///
|
||||
/// This function will panic if it is called outside of the context of a Dioxus App.
|
||||
pub fn window() -> DesktopContext {
|
||||
dioxus_core::prelude::consume_context()
|
||||
dioxus_core::consume_context()
|
||||
}
|
||||
|
||||
/// A handle to the [`DesktopService`] that can be passed around.
|
||||
|
||||
Reference in new issue
Block a user