chore: more tests passing
This commit is contained in:
1 parent
f614cbb401
commit
565df11f7b
8 files changed
+364
-707
No files matched your search
@@ -483,6 +483,7 @@ impl VirtualDom {
|
||||
///
|
||||
/// apply_edits(edits);
|
||||
/// ```
|
||||
#[must_use]
|
||||
pub fn rebuild<'a>(&'a mut self) -> Mutations<'a> {
|
||||
match unsafe { self.run_scope(ScopeId(0)).extend_lifetime_ref() } {
|
||||
// Rebuilding implies we append the created elements to the root
|
||||
@@ -500,6 +501,7 @@ impl VirtualDom {
|
||||
|
||||
/// Render whatever the VirtualDom has ready as fast as possible without requiring an executor to progress
|
||||
/// suspended subtrees.
|
||||
#[must_use]
|
||||
pub fn render_immediate(&mut self) -> Mutations {
|
||||
// Build a waker that won't wake up since our deadline is already expired when it's polled
|
||||
let waker = futures_util::task::noop_waker();
|
||||
|
||||
Reference in new issue
Block a user