assign parents through fragments
This commit is contained in:
1 parent
35b643e23f
commit
d81d3ebaef
4 files changed
+13
-6
No files matched your search
@@ -485,7 +485,7 @@ impl<'b> VirtualDom {
|
||||
Text(text) => self.create_dynamic_text(parent, text),
|
||||
Placeholder(place) => self.create_placeholder(place, parent),
|
||||
Component(component) => self.create_component_node(Some(parent), component),
|
||||
Fragment(frag) => frag.iter().map(|child| self.create(child)).sum(),
|
||||
Fragment(frag) => self.create_children(*frag, Some(parent)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user