fix: use arcwake instead of rcwake

This commit is contained in:
Jonathan Kelley committed 2022-12-20 11:13:06 -08:00
1 parent 651ab3e7e3
commit 2fa3fe1fc0
16 files changed
+326 -79

No files matched your search

+7 -2
View File
@@ -354,8 +354,13 @@ impl<'b> VirtualDom {
use RenderReturn::*;
match return_nodes {
Sync(Some(t)) => self.mount_component(scope, template, t, idx),
Sync(None) => todo!("Propogate error upwards"),
Ready(t) => self.mount_component(scope, template, t, idx),
Aborted(t) => {
self.mutations
.push(Mutation::CreatePlaceholder { id: ElementId(999) });
1
}
Async(_) => self.mount_component_placeholder(template, idx, scope),
}
}