only add non-static components to the borrowed_props list
@@ -477,10 +477,12 @@ impl<'src> ScopeState {
let mut props = self.borrowed_props.borrow_mut();
for node in element.dynamic_nodes {
if let DynamicNode::Component(comp) = node {
+ if !comp.static_props {
let unbounded = unsafe { std::mem::transmute(comp as *const VComponent) };
props.push(unbounded);
}
}
+ }
Some(element)
}
