fix: debug multistage edits in desktop

This commit is contained in:
Jonathan Kelley committed 2022-03-04 13:17:01 -05:00
1 parent cdbc37711f
commit c19995fed9
4 files changed
+44 -2

No files matched your search

+1 -1
View File
@@ -440,7 +440,7 @@ impl<'a, P> std::ops::Deref for Scope<'a, P> {
/// `ScopeId` is a `usize` that is unique across the entire VirtualDOM and across time. ScopeIDs will never be reused
/// once a component has been unmounted.
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, PartialOrd, Ord)]
pub struct ScopeId(pub usize);
/// A task's unique identifier.
+2
View File
@@ -515,6 +515,8 @@ impl VirtualDom {
}
}
println!("committed_mutations: {:?}", committed_mutations);
committed_mutations
}