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
@@ -2,7 +2,7 @@ use crate::write::Writable;
use std::hash::Hash;
use crate::read::Readable;
use dioxus_core::prelude::*;
use dioxus_core::ReactiveContext;
use futures_util::StreamExt;
use generational_box::{Storage, UnsyncStorage};
@@ -54,7 +54,7 @@ impl<R: Eq + Hash, S: Storage<SignalData<bool>>> SetCompare<R, S> {
*previous = Some(current);
};
let (rc, mut changed) = ReactiveContext::new();
spawn(async move {
dioxus_core::spawn(async move {
loop {
// Recompute the value
rc.reset_and_run_in(&mut recompute);