feat: core tests passing
This commit is contained in:
1 parent
b0cccce60a
commit
e22923eb2d
15 files changed
+107
-122
No files matched your search
@@ -341,7 +341,7 @@ impl<'b> VirtualDom {
|
||||
|
||||
// If running the scope has collected some leaves and *this* component is a boundary, then handle the suspense
|
||||
let boundary = match self.scopes[scope.0].has_context::<SuspenseContext>() {
|
||||
Some(boundary) => unsafe { &*(boundary as *const SuspenseContext) },
|
||||
Some(boundary) => boundary,
|
||||
_ => return created,
|
||||
};
|
||||
|
||||
@@ -388,11 +388,6 @@ impl<'b> VirtualDom {
|
||||
// Set the placeholder of the scope
|
||||
self.scopes[scope.0].placeholder.set(Some(new_id));
|
||||
|
||||
println!(
|
||||
"assigning id {:?} to path {:?}, template: {:?}",
|
||||
new_id, &template.template.node_paths, template.template
|
||||
);
|
||||
|
||||
// Since the placeholder is already in the DOM, we don't create any new nodes
|
||||
self.mutations.push(AssignId {
|
||||
id: new_id,
|
||||
|
||||
Reference in new issue
Block a user