wip: moving to IDs
This commit is contained in:
1 parent
45ee803609
commit
79127ea6cd
5 files changed
+176
-174
No files matched your search
@@ -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()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user