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 @@
|
||||
|
||||
use std::cell::OnceCell;
|
||||
|
||||
use dioxus_core::{prelude::queue_effect, schedule_update};
|
||||
use dioxus_core::{queue_effect, schedule_update};
|
||||
use dioxus_fullstack_protocol::is_hydrating;
|
||||
use dioxus_history::History;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use dioxus_core::prelude::use_hook;
|
||||
use dioxus_core::use_hook;
|
||||
use dioxus_fullstack_protocol::SerializeContextEntry;
|
||||
use serde::{de::DeserializeOwned, Serialize};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use dioxus_core::prelude::{suspend, use_hook, RenderError};
|
||||
use dioxus_core::{suspend, use_hook, RenderError};
|
||||
use dioxus_hooks::*;
|
||||
use dioxus_signals::Readable;
|
||||
use serde::{de::DeserializeOwned, Serialize};
|
||||
|
||||
@@ -5,9 +5,5 @@ pub mod history;
|
||||
mod hooks;
|
||||
mod streaming;
|
||||
|
||||
pub mod prelude {
|
||||
//! A prelude of commonly used items in dioxus-fullstack-hooks.
|
||||
|
||||
pub use crate::hooks::*;
|
||||
pub use crate::streaming::*;
|
||||
}
|
||||
pub use crate::hooks::*;
|
||||
pub use crate::streaming::*;
|
||||
@@ -1,4 +1,4 @@
|
||||
use dioxus_core::prelude::try_consume_context;
|
||||
use dioxus_core::try_consume_context;
|
||||
use dioxus_signals::{Readable, Signal, Writable};
|
||||
|
||||
/// The status of the streaming response
|
||||
|
||||
Reference in new issue
Block a user