implement suspense using simpler approach

This commit is contained in:
Jonathan Kelley committed 2023-07-14 17:12:07 -07:00
1 parent 81075748f6
commit f0128a3150
5 files changed
+27 -83

No files matched your search

+1 -1
View File
@@ -655,7 +655,7 @@ impl<'src> ScopeState {
}
/// Mark this component as suspended and then return None
pub fn suspend(&self) -> Option<()> {
pub fn suspend(&self) -> Option<Element> {
self.suspended.set(true);
None
}