feat: wire up both desktop and web

This commit is contained in:
Jonathan Kelley committed 2022-01-13 22:51:01 -05:00
1 parent 10db6ad65b
commit 05331ddd80
15 files changed
+261 -728

No files matched your search

+2 -2
View File
@@ -118,7 +118,7 @@ impl WebsysDom {
// we cant have the last node be text
let mut last_node_was_text = false;
for child in vel.children {
self.rehydrate_single(nodes, place, dom, &child, &mut last_node_was_text)?;
self.rehydrate_single(nodes, place, dom, child, &mut last_node_was_text)?;
}
place.pop();
@@ -146,7 +146,7 @@ impl WebsysDom {
VNode::Fragment(el) => {
for el in el.children {
self.rehydrate_single(nodes, place, dom, &el, last_node_was_text)?;
self.rehydrate_single(nodes, place, dom, el, last_node_was_text)?;
}
}