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:
Jonathan Kelley authored and GitHub committed 2025-07-16 16:04:13 -07:00
1 parent 54d465a7b5
commit 4f1d039bad
140 files changed
+374 -477

No files matched your search

+2 -2
View File
@@ -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()))
}
}