drop any attribute after rendering

This commit is contained in:
Evan Almloff committed 2023-10-25 16:37:04 -05:00
1 parent b25fada776
commit b99f081c08
4 files changed
+37 -12

No files matched your search

+2 -2
View File
@@ -35,7 +35,7 @@ impl VirtualDom {
hook_idx: Default::default(),
borrowed_props: Default::default(),
attributes_to_drop: Default::default(),
attributes_to_drop_before_render: Default::default(),
}));
let context =
@@ -54,7 +54,7 @@ impl VirtualDom {
let new_nodes = unsafe {
let scope = &self.scopes[scope_id.0];
scope.previous_frame().bump_mut().reset();
scope.previous_frame().reset();
scope.context().suspended.set(false);