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
@@ -174,8 +174,8 @@ pub fn serialize_context() -> HydrationContext {
|
||||
#[cfg(not(feature = "web"))]
|
||||
{
|
||||
// On the server each scope creates the context lazily
|
||||
dioxus_core::prelude::has_context()
|
||||
.unwrap_or_else(|| dioxus_core::prelude::provide_context(HydrationContext::default()))
|
||||
dioxus_core::has_context()
|
||||
.unwrap_or_else(|| dioxus_core::provide_context(HydrationContext::default()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user