always load the templates in hydration

This commit is contained in:
Evan Almloff committed 2023-01-31 14:18:34 -06:00
1 parent 696109db10
commit 9baef6bcd9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ pub struct Mutations<'a> {
/// Any templates encountered while diffing the DOM.
///
/// These must be loaded into a cache before applying the edits
pub templates: Vec<Template<'static>>,
pub templates: Vec<Template<'a>>,
/// Any mutations required to patch the renderer to match the layout of the VirtualDom
pub edits: Vec<Mutation<'a>>,