chore: make clippy happy in workspace crate
This commit is contained in:
1 parent
22f58ef1d8
commit
8d7d07db56
8 files changed
+62
-60
No files matched your search
@@ -54,19 +54,21 @@
|
||||
// - Do DOM work in the next requestAnimationFrame callback
|
||||
|
||||
pub use crate::cfg::Config;
|
||||
use crate::dom::virtual_event_from_websys_event;
|
||||
pub use crate::util::{use_eval, EvalResult};
|
||||
use dioxus_core::{Element, ElementId, Scope, VirtualDom};
|
||||
use dioxus_core::{Element, Scope, VirtualDom};
|
||||
use futures_util::{pin_mut, FutureExt, StreamExt};
|
||||
|
||||
mod cache;
|
||||
mod cfg;
|
||||
mod dom;
|
||||
mod hot_reload;
|
||||
// mod rehydrate;
|
||||
mod ric_raf;
|
||||
mod util;
|
||||
|
||||
// Currently disabled since it actually slows down immediate rendering
|
||||
// todo: only schedule non-immediate renders through ric/raf
|
||||
// mod ric_raf;
|
||||
// mod rehydrate;
|
||||
|
||||
/// Launch the VirtualDOM given a root component and a configuration.
|
||||
///
|
||||
/// This function expects the root component to not have root props. To launch the root component with root props, use
|
||||
@@ -195,8 +197,6 @@ pub async fn run_with_props<T: 'static>(root: fn(Scope<T>) -> Element, root_prop
|
||||
// the mutations come back with nothing - we need to actually mount them
|
||||
websys_dom.mount();
|
||||
|
||||
let _work_loop = ric_raf::RafLoop::new();
|
||||
|
||||
loop {
|
||||
log::debug!("waiting for work");
|
||||
|
||||
|
||||
Reference in new issue
Block a user