feat: wire up both desktop and web
This commit is contained in:
1 parent
10db6ad65b
commit
05331ddd80
15 files changed
+261
-728
No files matched your search
@@ -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)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user