Improve warnings when trying to update outside of pending suspense boundaries on the server (#2575)
* Improve warnings when trying to update outside of pending suspense boundaries on the server * remove suspense resolve log
This commit is contained in:
1 parent
88af3e7eff
commit
e794be5d78
14 files changed
+409
-313
No files matched your search
@@ -85,6 +85,9 @@ impl VirtualDom {
|
||||
};
|
||||
|
||||
self.dirty_scopes.remove(&ScopeOrder::new(height, id));
|
||||
|
||||
// If this scope was a suspense boundary, remove it from the resolved scopes
|
||||
self.resolved_scopes.retain(|s| s != &id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user