Fix suspense diffing (#2789)
* Fix suspense placeholders after creating a node * add nested suspense client side core test * fix resolve suspense
This commit is contained in:
1 parent
0042430a36
commit
37ea8ab906
5 files changed
+605
-23
No files matched your search
@@ -243,7 +243,7 @@ impl Runtime {
|
||||
// If this is not a suspended scope, and we are under a frozen context, then we should
|
||||
let scopes = self.scope_states.borrow();
|
||||
let scope = &scopes[scope_id.0].as_ref().unwrap();
|
||||
!matches!(scope.suspense_location(), SuspenseLocation::UnderSuspense(suspense) if suspense.has_suspended_tasks())
|
||||
!matches!(scope.suspense_location(), SuspenseLocation::UnderSuspense(suspense) if suspense.is_suspended())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user