separate task and scope tasks
This commit is contained in:
1 parent
78b9b157dc
commit
c4b8ebc1cf
4 files changed
+135
-63
No files matched your search
@@ -2,7 +2,7 @@ use std::ops::{Deref, DerefMut};
|
||||
|
||||
use crate::{
|
||||
any_props::AnyProps,
|
||||
innerlude::{DirtyScope, ElementRef, MountId, VComponent, WriteMutations},
|
||||
innerlude::{DirtyScopes,ScopeOrder, ElementRef, MountId, VComponent, WriteMutations},
|
||||
nodes::RenderReturn,
|
||||
nodes::VNode,
|
||||
scopes::ScopeId,
|
||||
@@ -91,7 +91,7 @@ impl VNode {
|
||||
dom.diff_scope(to, scope_id, new);
|
||||
|
||||
let height = dom.runtime.get_state(scope_id).unwrap().height;
|
||||
dom.dirty_scopes.remove(&DirtyScope::new(height, scope_id));
|
||||
dom.dirty_scopes.remove(&ScopeOrder::new(height, scope_id));
|
||||
}
|
||||
|
||||
fn replace_vcomponent(
|
||||
|
||||
Reference in new issue
Block a user