update vnode ptr when parent of component reruns

This commit is contained in:
Evan Almloff committed 2023-09-04 09:57:26 -05:00
1 parent cfc6887e34
commit d26aa95bcd
3 files changed
+17 -7

No files matched your search

+1
View File
@@ -547,6 +547,7 @@ impl<'b> VirtualDom {
// Create the component's root element
Ready(t) => {
self.assign_boundary_ref(parent, t);
component.bubble_id.set(t.parent.get());
self.create_scope(scope, t)
}
Aborted(t) => self.mount_aborted(t, parent),