wip: moving to IDs

This commit is contained in:
Jonathan Kelley committed 2021-06-20 02:16:42 -04:00
1 parent 45ee803609
commit 79127ea6cd
5 files changed
+176 -174

No files matched your search

+2 -2
View File
@@ -234,7 +234,7 @@ pub type VCompAssociatedScope = Option<ScopeIdx>;
pub struct VComponent<'src> {
pub key: NodeKey<'src>,
pub mounted_root: RealDomNode,
pub mounted_root: Cell<RealDomNode>,
pub ass_scope: RefCell<VCompAssociatedScope>,
// pub comparator: Rc<dyn Fn(&VComponent) -> bool + 'src>,
@@ -335,7 +335,7 @@ impl<'a> VComponent<'a> {
raw_props,
children,
caller,
mounted_root: RealDomNode::empty(),
mounted_root: Cell::new(RealDomNode::empty()),
}
}
}