Fix nested rsx expansion by not using template titles (#2799)
* Fix nested rsx expansion by not using template titles * fix writers with nameless templates * fix clippy * dont commit vscode fix * fix release mode, pull out __template_name * fix axum_desktop * Fix core tests * Make most fields of HotReloadedTemplate public for testing * wip: formatting, compare all diff cases * slightly smarter diffing for dynamic nodes * add a comment about generic node diffing * clean up mutations a bit * fix load template * simplify maybe_rebuild * Restore write mutations flag in web * write_mutations -> skip_mutations --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
1 parent
a2180b92e9
commit
0de3bf7aeb
40 files changed
+597
-1038
No files matched your search
@@ -151,11 +151,11 @@ impl WebsysDom {
|
||||
self,
|
||||
|to| {
|
||||
// Switch to only writing templates
|
||||
to.only_write_templates = true;
|
||||
to.skip_mutations = true;
|
||||
},
|
||||
children.len(),
|
||||
);
|
||||
self.only_write_templates = false;
|
||||
self.skip_mutations = false;
|
||||
});
|
||||
|
||||
// Flush the mutations that will swap the placeholder nodes with the resolved nodes
|
||||
|
||||
Reference in new issue
Block a user