feat: get desktop working with new template strategy

This commit is contained in:
Jonathan Kelley committed 2022-12-05 16:08:41 -08:00
1 parent df4a1b6c7a
commit 7b1cdb7d85
11 files changed
+79 -31

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ use crate::{arena::ElementId, ScopeId, Template};
/// Templates, however, apply to all subtrees, not just target subtree.
///
/// Mutations are the only link between the RealDOM and the VirtualDOM.
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[derive(Debug, Default)]
#[must_use = "not handling edits can lead to visual inconsistencies in UI"]
pub struct Mutations<'a> {