Phase 3.4-3.7: evaluate_vdom_incr with dirty_set propagation, tests for ReactiveTracker

This commit is contained in:
Glint Dev
2026-07-21 20:40:23 +03:00
parent d8d3f57a21
commit 4a6dea6dd8
3 changed files with 41 additions and 22 deletions

View File

@@ -54,13 +54,15 @@ impl GlintApp {
_ => {}
}
self.vdom_roots = Interpreter::evaluate_vdom(
let dirty_set = self.doc.tracker.take_dirty_set();
self.vdom_roots = Interpreter::evaluate_vdom_incr(
&self.doc.roots,
&mut self.doc.variables,
&self.doc.components,
&self.rhei,
&self.doc.stylesheet,
&[],
&dirty_set,
);
iced::Task::none()