chore: get create working and simplify dynamic nodes

This commit is contained in:
Jonathan Kelley committed 2022-11-30 11:24:13 -05:00
1 parent 16a521a601
commit 3c19def550
16 files changed
+168 -173

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ use crate::{
scheduler::RcWake,
scopes::{ScopeId, ScopeState},
virtual_dom::VirtualDom,
AttributeValue, DynamicNode, VFragment, VNode,
AttributeValue, DynamicNode, VNode,
};
use futures_util::FutureExt;
use std::{
@@ -75,7 +75,7 @@ impl VirtualDom {
c.props.set(None);
}
}
DynamicNode::Fragment(VFragment::NonEmpty(f)) => {
DynamicNode::Fragment(f) => {
for node in *f {
self.ensure_drop_safety_inner(node);
}